URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Subversion Repositories openrisc_2011-10-31
Compare Revisions
- This comparison shows the changes necessary to convert path
/openrisc/trunk/or1ksim
- from Rev 532 to Rev 538
- ↔ Reverse comparison
Rev 532 → Rev 538
/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
645,7 → 645,7
# (which will cause the Makefiles to be regenerated when you run `make'); |
# (2) otherwise, pass the desired values on the `make' command line. |
$(RECURSIVE_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
670,7 → 670,7
fi; test -z "$$fail" |
|
$(RECURSIVE_CLEAN_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
834,8 → 834,7
fi; \ |
done |
-test -n "$(am__skip_mode_fix)" \ |
|| find "$(distdir)" -type d ! -perm -755 \ |
-exec chmod u+rwx,go+rx {} \; -o \ |
|| find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
879,17 → 878,17
distcheck: dist |
case '$(DIST_ARCHIVES)' in \ |
*.tar.gz*) \ |
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ |
*.tar.bz2*) \ |
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ |
*.tar.lzma*) \ |
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ |
*.tar.xz*) \ |
xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
*.tar.Z*) \ |
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
*.shar.gz*) \ |
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ |
*.zip*) \ |
unzip $(distdir).zip ;;\ |
esac |
/debug/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/cpu/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
292,7 → 292,7
# (which will cause the Makefiles to be regenerated when you run `make'); |
# (2) otherwise, pass the desired values on the `make' command line. |
$(RECURSIVE_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
317,7 → 317,7
fi; test -z "$$fail" |
|
$(RECURSIVE_CLEAN_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
/cpu/or32/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/cpu/dlx/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/cpu/common/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/cpu/or1k/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/cpu/or1k/spr-dump.c
447,7 → 447,7
|
/*-----------------------------------------------------[ Tick timer group ]---*/ |
static const struct spr_bit_def spr_ttmr[] = { |
{ "TTMR_PERIOD", SPR_TTMR_PERIOD }, |
{ "TTMR_TP", SPR_TTMR_TP }, |
{ "TTMR_IP", SPR_TTMR_IP }, |
{ "TTMR_IE", SPR_TTMR_IE }, |
{ "TTMR_M", SPR_TTMR_M }, |
/cpu/or1k/spr-defs.h
1,4 → 1,4
/* ipc.h. Microkernel IPC header for Or1ksim |
/* spr-defs.h - Special purpose registers definitions file |
|
Copyright (C) 2000 Damjan Lampret |
Copyright (C) 2008, 2010 Embecosm Limited |
100,6 → 100,7
|
/* Data MMU group */ |
#define SPR_DMMUCR (SPRGROUP_DMMU + 0) |
#define SPR_DTLBEIR (SPRGROUP_DMMU + 2) |
#define SPR_DTLBMR_BASE(WAY) (SPRGROUP_DMMU + 0x200 + (WAY) * 0x100) |
#define SPR_DTLBMR_LAST(WAY) (SPRGROUP_DMMU + 0x27f + (WAY) * 0x100) |
#define SPR_DTLBTR_BASE(WAY) (SPRGROUP_DMMU + 0x280 + (WAY) * 0x100) |
107,6 → 108,7
|
/* Instruction MMU group */ |
#define SPR_IMMUCR (SPRGROUP_IMMU + 0) |
#define SPR_ITLBEIR (SPRGROUP_IMMU + 2) |
#define SPR_ITLBMR_BASE(WAY) (SPRGROUP_IMMU + 0x200 + (WAY) * 0x100) |
#define SPR_ITLBMR_LAST(WAY) (SPRGROUP_IMMU + 0x27f + (WAY) * 0x100) |
#define SPR_ITLBTR_BASE(WAY) (SPRGROUP_IMMU + 0x280 + (WAY) * 0x100) |
153,6 → 155,7
|
/* PIC group */ |
#define SPR_PICMR (SPRGROUP_PIC + 0) |
#define SPR_PICPR (SPRGROUP_PIC + 1) |
#define SPR_PICSR (SPRGROUP_PIC + 2) |
|
/* Tick Timer group */ |
280,7 → 283,7
#define SPR_DTLBMR_PL1 0x00000002 /* Page Level 1 (if 0 then PL2) */ |
#define SPR_DTLBMR_CID 0x0000003c /* Context ID */ |
#define SPR_DTLBMR_LRU 0x000000c0 /* Least Recently Used */ |
#define SPR_DTLBMR_VPN 0xfffff000 /* Virtual Page Number */ |
#define SPR_DTLBMR_VPN 0xffffe000 /* Virtual Page Number */ |
|
/* |
* Bit definitions for the Data TLB Translate Register |
296,7 → 299,7
#define SPR_DTLBTR_UWE 0x00000080 /* User Write Enable */ |
#define SPR_DTLBTR_SRE 0x00000100 /* Supervisor Read Enable */ |
#define SPR_DTLBTR_SWE 0x00000200 /* Supervisor Write Enable */ |
#define SPR_DTLBTR_PPN 0xfffff000 /* Physical Page Number */ |
#define SPR_DTLBTR_PPN 0xffffe000 /* Physical Page Number */ |
|
/* |
* Bit definitions for the Instruction TLB Match Register |
306,7 → 309,7
#define SPR_ITLBMR_PL1 0x00000002 /* Page Level 1 (if 0 then PL2) */ |
#define SPR_ITLBMR_CID 0x0000003c /* Context ID */ |
#define SPR_ITLBMR_LRU 0x000000c0 /* Least Recently Used */ |
#define SPR_ITLBMR_VPN 0xfffff000 /* Virtual Page Number */ |
#define SPR_ITLBMR_VPN 0xffffe000 /* Virtual Page Number */ |
|
/* |
* Bit definitions for the Instruction TLB Translate Register |
320,7 → 323,7
#define SPR_ITLBTR_D 0x00000020 /* Dirty */ |
#define SPR_ITLBTR_SXE 0x00000040 /* User Read Enable */ |
#define SPR_ITLBTR_UXE 0x00000080 /* User Write Enable */ |
#define SPR_ITLBTR_PPN 0xfffff000 /* Physical Page Number */ |
#define SPR_ITLBTR_PPN 0xffffe000 /* Physical Page Number */ |
|
/* |
* Bit definitions for Data Cache Control register |
568,6 → 571,12
#define SPR_PICMR_IUM 0xfffffffc /* Interrupt unmask */ |
|
/* |
* Bit definitions for PICPR |
* |
*/ |
#define SPR_PICPR_IPRIO 0xfffffffc /* Interrupt priority */ |
|
/* |
* Bit definitions for PICSR |
* |
*/ |
577,8 → 586,8
* Bit definitions for Tick Timer Control Register |
* |
*/ |
#define SPR_TTCR_PERIOD 0x0fffffff /* Time Period */ |
#define SPR_TTMR_PERIOD SPR_TTCR_PERIOD |
#define SPR_TTCR_CNT 0xffffffff /* Count, time period */ |
#define SPR_TTMR_TP 0x0fffffff /* Time period */ |
#define SPR_TTMR_IP 0x10000000 /* Interrupt Pending */ |
#define SPR_TTMR_IE 0x20000000 /* Interrupt Enable */ |
#define SPR_TTMR_DI 0x00000000 /* Disabled */ |
/configure.ac
98,7 → 98,7
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \ |
termcap.h termios.h termio.h sys/file.h locale.h getopt.h \ |
net/ethernet.h sys/ethernet.h malloc.h inttypes.h libintl.h \ |
limits.h) |
limits.h linux/if_tun.h) |
AC_CHECK_FUNCS(strcasecmp select setenv putenv tcgetattr setlocale lstat) |
AC_CHECK_FUNCS(grantpt unlockpt ptsname on_exit) |
AC_CHECK_FUNCS(basename) |
/cache/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/doc/or1ksim.info
1,5 → 1,5
This is ../../doc/or1ksim.info, produced by makeinfo version 4.13 from |
../../doc/or1ksim.texi. |
This is ../../or1ksim/doc/or1ksim.info, produced by makeinfo version |
4.13 from ../../or1ksim/doc/or1ksim.texi. |
|
INFO-DIR-SECTION Embedded development |
START-INFO-DIR-ENTRY |
64,7 → 64,7
Unpack the software and create a _separate_ directory in which to build |
it: |
|
tar jxf or1ksim-0.5.1rc1.tar.bz2 |
tar jxf or1ksim-2011-04-28.tar.bz2 |
mkdir builddir_or1ksim |
cd builddir_or1ksim |
|
81,7 → 81,7
OpenRISC 1000 32-bit architecture. If this argument is omitted, it will |
default to OpenRISC 1000 32-bit with a warning |
|
../or1ksim-0.5.1rc1/configure --target=or32-elf ... |
../or1ksim-2011-04-28/configure --target=or32-elf ... |
|
There are several other options available, many of which are standard |
to GNU `configure' scripts. Use `configure --help' to see all the |
4845,65 → 4845,65
|
|
Tag Table: |
Node: Top810 |
Node: Installation1220 |
Node: Preparation1467 |
Node: Configuring the Build1760 |
Node: Build and Install7898 |
Node: Known Issues8664 |
Node: Usage9719 |
Node: Standalone Simulator10003 |
Node: Profiling Utility15147 |
Node: Memory Profiling Utility16053 |
Node: Trace Generation17413 |
Node: Simulator Library19598 |
Node: Ethernet TUN/TAP Interface30030 |
Node: Setting Up a Persistent TAP device31135 |
Node: Establishing a Bridge31810 |
Node: Opening the Firewall33493 |
Node: Disabling Ethernet Filtering33984 |
Node: Networking from OpenRISC Linux and BusyBox34609 |
Node: Tearing Down a Bridge36271 |
Node: l.nop Support37014 |
Node: Configuration39176 |
Node: Configuration File Format39788 |
Node: Configuration File Preprocessing40173 |
Node: Configuration File Syntax40470 |
Node: Simulator Configuration43255 |
Node: Simulator Behavior43546 |
Node: Verification API Configuration48127 |
Node: CUC Configuration50067 |
Node: Core OpenRISC Configuration52059 |
Node: CPU Configuration52561 |
Node: Memory Configuration56680 |
Node: Memory Management Configuration63402 |
Node: Cache Configuration65779 |
Node: Interrupt Configuration68165 |
Node: Power Management Configuration69998 |
Node: Branch Prediction Configuration71275 |
Node: Debug Interface Configuration72635 |
Node: Peripheral Configuration74978 |
Node: Memory Controller Configuration75604 |
Node: UART Configuration79384 |
Node: DMA Configuration82903 |
Node: Ethernet Configuration84770 |
Node: GPIO Configuration90049 |
Node: Display Interface Configuration91682 |
Node: Frame Buffer Configuration93991 |
Node: Keyboard Configuration95855 |
Node: Disc Interface Configuration98093 |
Node: Generic Peripheral Configuration103197 |
Node: Interactive Command Line105492 |
Node: Verification API112466 |
Node: Code Internals116896 |
Node: Coding Conventions117479 |
Node: Global Data Structures121906 |
Node: Concepts124563 |
Ref: Output Redirection124708 |
Ref: Interrupts Internal125246 |
Node: Internal Debugging126399 |
Node: Regression Testing126923 |
Node: GNU Free Documentation License130712 |
Node: Index153119 |
Node: Top826 |
Node: Installation1236 |
Node: Preparation1483 |
Node: Configuring the Build1778 |
Node: Build and Install7918 |
Node: Known Issues8684 |
Node: Usage9739 |
Node: Standalone Simulator10023 |
Node: Profiling Utility15167 |
Node: Memory Profiling Utility16073 |
Node: Trace Generation17433 |
Node: Simulator Library19618 |
Node: Ethernet TUN/TAP Interface30050 |
Node: Setting Up a Persistent TAP device31155 |
Node: Establishing a Bridge31830 |
Node: Opening the Firewall33513 |
Node: Disabling Ethernet Filtering34004 |
Node: Networking from OpenRISC Linux and BusyBox34629 |
Node: Tearing Down a Bridge36291 |
Node: l.nop Support37034 |
Node: Configuration39196 |
Node: Configuration File Format39808 |
Node: Configuration File Preprocessing40193 |
Node: Configuration File Syntax40490 |
Node: Simulator Configuration43275 |
Node: Simulator Behavior43566 |
Node: Verification API Configuration48147 |
Node: CUC Configuration50087 |
Node: Core OpenRISC Configuration52079 |
Node: CPU Configuration52581 |
Node: Memory Configuration56700 |
Node: Memory Management Configuration63422 |
Node: Cache Configuration65799 |
Node: Interrupt Configuration68185 |
Node: Power Management Configuration70018 |
Node: Branch Prediction Configuration71295 |
Node: Debug Interface Configuration72655 |
Node: Peripheral Configuration74998 |
Node: Memory Controller Configuration75624 |
Node: UART Configuration79404 |
Node: DMA Configuration82923 |
Node: Ethernet Configuration84790 |
Node: GPIO Configuration90069 |
Node: Display Interface Configuration91702 |
Node: Frame Buffer Configuration94011 |
Node: Keyboard Configuration95875 |
Node: Disc Interface Configuration98113 |
Node: Generic Peripheral Configuration103217 |
Node: Interactive Command Line105512 |
Node: Verification API112486 |
Node: Code Internals116916 |
Node: Coding Conventions117499 |
Node: Global Data Structures121926 |
Node: Concepts124583 |
Ref: Output Redirection124728 |
Ref: Interrupts Internal125266 |
Node: Internal Debugging126419 |
Node: Regression Testing126943 |
Node: GNU Free Documentation License130732 |
Node: Index153139 |
|
End Tag Table |
/doc/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/doc/version.texi
1,4 → 1,4
@set UPDATED 7 April 2011 |
@set UPDATED 15 April 2011 |
@set UPDATED-MONTH April 2011 |
@set EDITION 0.5.1rc1 |
@set VERSION 0.5.1rc1 |
@set EDITION 2011-04-28 |
@set VERSION 2011-04-28 |
/cuc/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/ChangeLog
1,3 → 1,24
2011-05-09 Julius Baxter <julius.baxter@orsoc.se> |
|
* configure: Regenerated. |
* configure.ac: Added TUN/TAP header to AC_CHECK_HEADERS |
* peripheral/eth.c: Added ifdef HAVE_LINUX_IF_TUN_H around TUN/TAP |
code and includes. |
* cpu/or1k/spr-defs.h: Fixed page number mask for MMU TLB registers. |
Added TLBEIR definition. |
Added definitions for SPR_TTMR_TP and SPR_TTCR_CNT. Removed definitions |
of SPR_TTMR_PERIOD and SPR_TTMR_CR_PERIOD. |
Added PICPR_IPRIO definition. |
* testsuite/test-code-or1k/uos/tick.c: Replace SPR_TTMR_PERIOD with |
SPR_TTMR_TP and SPR_TTCR_PERIOD with SPR_TTCR_CNT. |
* tick/tick.c: Ditto. |
* cpu/or1k/spr-dump.c: Ditto. |
* testsuite/test-code-or1k/tick/tick.c: Ditto. |
Fix continuous timer test. |
Remove spurious interrupt test. Believed to be an artifact of incorrect |
TTMR/TTCR defines. |
* testsuite/or1ksim.tests/tick.exp: Remove spurious interrupt test. |
|
2011-04-28 Jeremy Bennett <jeremy.bennett@embecosm.com> |
|
* configure: Regenerated. |
/testsuite/libsim.tests/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/eth/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/configure
1,15 → 1,13
#! /bin/sh |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.65 for or1ksim-testsuite 2011-04-28. |
# Generated by GNU Autoconf 2.64 for or1ksim-testsuite 2011-04-28. |
# |
# Report bugs to <openrisc@opencores.org>. |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
# Inc. |
# 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. |
## -------------------- ## |
678,8 → 676,7
|
|
|
test -n "$DJDIR" || exec 7<&0 </dev/null |
exec 6>&1 |
exec 7<&0 </dev/null 6>&1 |
|
# Name of the host. |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
1528,7 → 1525,7
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 (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
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 |
CCAS assembler compiler command (defaults to CC) |
1601,7 → 1598,7
if $ac_init_version; then |
cat <<\_ACEOF |
or1ksim-testsuite configure 2011-04-28 |
generated by GNU Autoconf 2.65 |
generated by GNU Autoconf 2.64 |
|
Copyright (C) 2009 Free Software Foundation, Inc. |
This configure script is free software; the Free Software Foundation |
1648,7 → 1645,7
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 |
return $ac_retval |
|
} # ac_fn_c_try_compile |
|
1694,7 → 1691,7
# left behind by Apple's compiler. We do this before executing the actions. |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
as_fn_set_status $ac_retval |
return $ac_retval |
|
} # ac_fn_c_try_link |
|
1762,7 → 1759,7
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 |
return $ac_retval |
|
} # ac_fn_c_try_cpp |
|
1804,7 → 1801,7
fi |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
as_fn_set_status $ac_retval |
return $ac_retval |
|
} # ac_fn_c_try_run |
|
2026,7 → 2023,7
running configure, to aid debugging if configure makes a mistake. |
|
It was created by or1ksim-testsuite $as_me 2011-04-28, which was |
generated by GNU Autoconf 2.65. Invocation command line was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
$ $0 $@ |
|
2279,7 → 2276,7
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 |
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 |
2288,9 → 2285,9
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 |
# 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 |
2815,8 → 2812,8
... rest of stderr output deleted ... |
10q' conftest.err >conftest.er1 |
cat conftest.er1 >&5 |
rm -f conftest.er1 conftest.err |
fi |
rm -f conftest.er1 conftest.err |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } |
done |
2823,10 → 2820,12
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
|
#include <stdio.h> |
int |
main () |
{ |
FILE *f = fopen ("conftest.out", "w"); |
return ferror (f) || fclose (f) != 0; |
|
; |
return 0; |
2833,12 → 2832,12
} |
_ACEOF |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.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. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
# The possible output files: |
2900,10 → 2899,10
else |
ac_file='' |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
$as_echo "$ac_file" >&6; } |
if test -z "$ac_file"; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
$as_echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
2911,18 → 2910,51
{ as_fn_set_status 77 |
as_fn_error "C compiler cannot create executables |
See \`config.log' for more details." "$LINENO" 5; }; } |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
$as_echo "yes" >&6; } |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
$as_echo "$ac_file" >&6; } |
ac_exeext=$ac_cv_exeext |
|
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
# Check that the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
# 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
$as_echo "$ac_try_echo"; } >&5 |
(eval "$ac_try") 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; }; }; then |
cross_compiling=no |
else |
if test "$cross_compiling" = maybe; then |
cross_compiling=yes |
else |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error "cannot run C compiled programs. |
If you meant to cross compile, use \`--host'. |
See \`config.log' for more details." "$LINENO" 5; } |
fi |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
$as_echo "yes" >&6; } |
|
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.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. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
$as_echo "$cross_compiling" >&6; } |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
$as_echo_n "checking for suffix of executables... " >&6; } |
if { { ac_try="$ac_link" |
2955,7 → 2987,7
as_fn_error "cannot compute suffix of executables: cannot compile and link |
See \`config.log' for more details." "$LINENO" 5; } |
fi |
rm -f conftest conftest$ac_cv_exeext |
rm -f conftest$ac_cv_exeext |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
$as_echo "$ac_cv_exeext" >&6; } |
|
2962,65 → 2994,6
rm -f conftest.$ac_ext |
EXEEXT=$ac_cv_exeext |
ac_exeext=$EXEEXT |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
#include <stdio.h> |
int |
main () |
{ |
FILE *f = fopen ("conftest.out", "w"); |
return ferror (f) || fclose (f) != 0; |
|
; |
return 0; |
} |
_ACEOF |
ac_clean_files="$ac_clean_files conftest.out" |
# Check that the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
if test "$cross_compiling" != yes; then |
{ { ac_try="$ac_link" |
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_link") 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } |
if { ac_try='./conftest$ac_cv_exeext' |
{ { 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_try") 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; }; }; then |
cross_compiling=no |
else |
if test "$cross_compiling" = maybe; then |
cross_compiling=yes |
else |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error "cannot run C compiled programs. |
If you meant to cross compile, use \`--host'. |
See \`config.log' for more details." "$LINENO" 5; } |
fi |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
$as_echo "$cross_compiling" >&6; } |
|
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
ac_clean_files=$ac_clean_files_save |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
$as_echo_n "checking for suffix of object files... " >&6; } |
if test "${ac_cv_objext+set}" = set; then : |
3868,13 → 3841,13
else |
lt_cv_nm_interface="BSD nm" |
echo "int some_variable = 0;" > conftest.$ac_ext |
(eval echo "\"\$as_me:3871: $ac_compile\"" >&5) |
(eval echo "\"\$as_me:3844: $ac_compile\"" >&5) |
(eval "$ac_compile" 2>conftest.err) |
cat conftest.err >&5 |
(eval echo "\"\$as_me:3874: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
(eval echo "\"\$as_me:3847: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
cat conftest.err >&5 |
(eval echo "\"\$as_me:3877: output\"" >&5) |
(eval echo "\"\$as_me:3850: output\"" >&5) |
cat conftest.out >&5 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
lt_cv_nm_interface="MS dumpbin" |
5080,7 → 5053,7
;; |
*-*-irix6*) |
# Find out which ABI we are using. |
echo '#line 5083 "configure"' > conftest.$ac_ext |
echo '#line 5056 "configure"' > conftest.$ac_ext |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
6610,11 → 6583,11
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:6613: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6586: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
cat conftest.err >&5 |
echo "$as_me:6617: \$? = $ac_status" >&5 |
echo "$as_me:6590: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
6949,11 → 6922,11
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:6952: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6925: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
cat conftest.err >&5 |
echo "$as_me:6956: \$? = $ac_status" >&5 |
echo "$as_me:6929: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
7054,11 → 7027,11
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:7057: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7030: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? |
cat out/conftest.err >&5 |
echo "$as_me:7061: \$? = $ac_status" >&5 |
echo "$as_me:7034: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then |
# The compiler can only warn and ignore the option if not recognized |
7109,11 → 7082,11
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:7112: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7085: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? |
cat out/conftest.err >&5 |
echo "$as_me:7116: \$? = $ac_status" >&5 |
echo "$as_me:7089: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then |
# The compiler can only warn and ignore the option if not recognized |
9492,7 → 9465,7
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<_LT_EOF |
#line 9495 "configure" |
#line 9468 "configure" |
#include "confdefs.h" |
|
#if HAVE_DLFCN_H |
9588,7 → 9561,7
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<_LT_EOF |
#line 9591 "configure" |
#line 9564 "configure" |
#include "confdefs.h" |
|
#if HAVE_DLFCN_H |
10129,7 → 10102,6
|
fi |
|
test -d ./--version && rmdir ./--version |
if test "${ac_cv_path_mkdir+set}" = set; then |
MKDIR_P="$ac_cv_path_mkdir -p" |
else |
10137,6 → 10109,7
# 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. |
test -d ./--version && rmdir ./--version |
MKDIR_P="$ac_install_sh -d" |
fi |
fi |
11743,7 → 11716,7
# values after options handling. |
ac_log=" |
This file was extended by or1ksim-testsuite $as_me 2011-04-28, which was |
generated by GNU Autoconf 2.65. Invocation command line was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
11783,7 → 11756,6
|
-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 |
11806,11 → 11778,10
|
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
or1ksim-testsuite config.status 2011-04-28 |
configured by $0, generated by GNU Autoconf 2.65, |
with options \\"\$ac_cs_config\\" |
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 |
11848,8 → 11819,6
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 ) |
12330,7 → 12299,7
t delim |
:nl |
h |
s/\(.\{148\}\)..*/\1/ |
s/\(.\{148\}\).*/\1/ |
t more1 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
p |
12344,7 → 12313,7
t nl |
:delim |
h |
s/\(.\{148\}\)..*/\1/ |
s/\(.\{148\}\).*/\1/ |
t more2 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
p |
/testsuite/test-code-or1k/basic/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
370,7 → 370,7
# (which will cause the Makefiles to be regenerated when you run `make'); |
# (2) otherwise, pass the desired values on the `make' command line. |
$(RECURSIVE_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
395,7 → 395,7
fi; test -z "$$fail" |
|
$(RECURSIVE_CLEAN_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
559,8 → 559,7
fi; \ |
done |
-test -n "$(am__skip_mode_fix)" \ |
|| find "$(distdir)" -type d ! -perm -755 \ |
-exec chmod u+rwx,go+rx {} \; -o \ |
|| find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \ |
! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \ |
! -type d ! -perm -400 -exec chmod a+r {} \; -o \ |
! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \ |
604,17 → 603,17
distcheck: dist |
case '$(DIST_ARCHIVES)' in \ |
*.tar.gz*) \ |
GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\ |
GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ |
*.tar.bz2*) \ |
bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\ |
bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ |
*.tar.lzma*) \ |
lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\ |
unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\ |
*.tar.xz*) \ |
xz -dc $(distdir).tar.xz | $(am__untar) ;;\ |
*.tar.Z*) \ |
uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ |
*.shar.gz*) \ |
GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\ |
GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ |
*.zip*) \ |
unzip $(distdir).zip ;;\ |
esac |
/testsuite/test-code-or1k/cbasic/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mc-common/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/except/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/tick/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/tick/tick.c
28,6 → 28,8
#include "spr-defs.h" |
#include "support.h" |
|
/*! Whether to perform spurious interrupt test */ |
#define DO_SPURIOUS_INT_TEST 0 |
|
/*! Number of spurious interrupts we'll allow before properly disabling them */ |
#define MAX_SPURIOUS 5 |
48,8 → 50,10
/*! Global count of number of times interrupt handler has been called */ |
static volatile int tick_cnt = 0; |
|
#if DO_SPURIOUS_INT_TEST==1 |
/*! Global flag to indicate if the TTMR_IP flag should be cleared */ |
static int clear_ip = 1; |
#endif |
|
|
/* --------------------------------------------------------------------------*/ |
105,8 → 109,8
set_period (unsigned long int ttmr, |
unsigned long int period) |
{ |
ttmr &= ~SPR_TTMR_PERIOD; |
ttmr |= period & SPR_TTMR_PERIOD; |
ttmr &= ~SPR_TTMR_TP; |
ttmr |= period & SPR_TTMR_TP; |
|
return ttmr; |
|
220,6 → 224,7
} /* tick_count () */ |
|
|
#if DO_SPURIOUS_INT_TEST==1 |
/* --------------------------------------------------------------------------*/ |
/*!Tick interrupt handler generting spurious interrupts |
|
257,8 → 262,8
|
} |
} /* tick_int_spurious () */ |
#endif |
|
|
/* --------------------------------------------------------------------------*/ |
/*!Waste a little time |
|
504,8 → 509,8
waste_time(); |
ASSERT (GET_TTCR () > 0x20000, "Timer started counting from high value"); |
|
/* If TTCR is greater than TTMR_PERIOD then the interrupt gets delivered after |
TTCR wraps around to 0 and counts to SPR_TTMR_PERIOD. |
/* If TTCR is greater than TTMR_TP then the interrupt gets delivered after |
TTCR wraps around to 0 and counts to SPR_TTMR_TP. |
|
Set up an auto-restart timer to wrap around. Reset the tick count, |
because it may have incremented since the last match. */ |
533,11 → 538,13
|
/* Wait for trigger, then check that we have carried on counting. */ |
wait_match(); |
ttcr = GET_TTCR () & SPR_TTCR_PERIOD; |
ttcr = GET_TTCR () & SPR_TTCR_CNT; |
|
ASSERT ((0x10000 < ttcr) && (ttcr < 0xffffc00), |
ASSERT ((0x00010000 < ttcr) && (ttcr < 0xfffffc00), |
"Continuous mode wrapped round"); |
|
#if DO_SPURIOUS_INT_TEST==1 |
|
/* Disable the timer and set up the special spurious interrupt handler, to |
check spurious interrupts occur as expected. */ |
ttmr = clear_ttmr (); |
584,6 → 591,8
{ |
} |
|
#endif |
|
/* If we get here everything worked. */ |
report(0xdeaddead); |
return 0; |
/testsuite/test-code-or1k/functest/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mem-test/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/ext/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/kbdtest/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mycompress/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/upcalls/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/cache/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/testfloat/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/fp/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/int-logger/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/loop/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mc-dram/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mc-ssram/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/acv-uart/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/inst-set-test/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/fbtest/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/local-global/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mul/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mmu/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/cfg/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/dmatest/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/except-test/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/except-test/except-test.c
372,7 → 372,7
mtspr(SPR_SR, mfspr(SPR_SR) & ~SPR_SR_TEE); |
|
/* Set period of one cycle, restartable mode */ |
mtspr(SPR_TTMR, SPR_TTMR_IE | SPR_TTMR_RT | (period & SPR_TTMR_PERIOD)); |
mtspr(SPR_TTMR, SPR_TTMR_IE | SPR_TTMR_RT | (period & SPR_TTMR_TP)); |
|
/* Reset counter */ |
mtspr(SPR_TTCR, 0); |
/testsuite/test-code-or1k/acv-gpio/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/dhry/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/uos/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/uos/tick.c
43,7 → 43,7
(*tick_inf)(); |
|
/* Set new counter period iand clear inet pending bit */ |
mtspr(SPR_TTMR, SPR_TTMR_IE | SPR_TTMR_RT | (tick_period & SPR_TTMR_PERIOD)); |
mtspr(SPR_TTMR, SPR_TTMR_IE | SPR_TTMR_RT | (tick_period & SPR_TTMR_TP)); |
} |
|
/* Initialize routine */ |
54,7 → 54,7
tick_inf = inf; |
|
/* Set counter period, enable timer and interrupt */ |
mtspr(SPR_TTMR, SPR_TTMR_IE | SPR_TTMR_RT | (period & SPR_TTMR_PERIOD)); |
mtspr(SPR_TTMR, SPR_TTMR_IE | SPR_TTMR_RT | (period & SPR_TTMR_TP)); |
|
return 0; |
} |
/testsuite/test-code-or1k/int-test/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/flag/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/exit/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mc-sync/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/mc-async/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/support/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code-or1k/support/spr-defs.h
1,4 → 1,4
/* ipc.h. Microkernel IPC header for Or1ksim |
/* spr-defs.h - Special purpose registers definitions file |
|
Copyright (C) 2000 Damjan Lampret |
Copyright (C) 2008, 2010 Embecosm Limited |
100,6 → 100,7
|
/* Data MMU group */ |
#define SPR_DMMUCR (SPRGROUP_DMMU + 0) |
#define SPR_DTLBEIR (SPRGROUP_DMMU + 2) |
#define SPR_DTLBMR_BASE(WAY) (SPRGROUP_DMMU + 0x200 + (WAY) * 0x100) |
#define SPR_DTLBMR_LAST(WAY) (SPRGROUP_DMMU + 0x27f + (WAY) * 0x100) |
#define SPR_DTLBTR_BASE(WAY) (SPRGROUP_DMMU + 0x280 + (WAY) * 0x100) |
107,6 → 108,7
|
/* Instruction MMU group */ |
#define SPR_IMMUCR (SPRGROUP_IMMU + 0) |
#define SPR_ITLBEIR (SPRGROUP_IMMU + 2) |
#define SPR_ITLBMR_BASE(WAY) (SPRGROUP_IMMU + 0x200 + (WAY) * 0x100) |
#define SPR_ITLBMR_LAST(WAY) (SPRGROUP_IMMU + 0x27f + (WAY) * 0x100) |
#define SPR_ITLBTR_BASE(WAY) (SPRGROUP_IMMU + 0x280 + (WAY) * 0x100) |
153,6 → 155,7
|
/* PIC group */ |
#define SPR_PICMR (SPRGROUP_PIC + 0) |
#define SPR_PICPR (SPRGROUP_PIC + 1) |
#define SPR_PICSR (SPRGROUP_PIC + 2) |
|
/* Tick Timer group */ |
280,7 → 283,7
#define SPR_DTLBMR_PL1 0x00000002 /* Page Level 1 (if 0 then PL2) */ |
#define SPR_DTLBMR_CID 0x0000003c /* Context ID */ |
#define SPR_DTLBMR_LRU 0x000000c0 /* Least Recently Used */ |
#define SPR_DTLBMR_VPN 0xfffff000 /* Virtual Page Number */ |
#define SPR_DTLBMR_VPN 0xffffe000 /* Virtual Page Number */ |
|
/* |
* Bit definitions for the Data TLB Translate Register |
296,7 → 299,7
#define SPR_DTLBTR_UWE 0x00000080 /* User Write Enable */ |
#define SPR_DTLBTR_SRE 0x00000100 /* Supervisor Read Enable */ |
#define SPR_DTLBTR_SWE 0x00000200 /* Supervisor Write Enable */ |
#define SPR_DTLBTR_PPN 0xfffff000 /* Physical Page Number */ |
#define SPR_DTLBTR_PPN 0xffffe000 /* Physical Page Number */ |
|
/* |
* Bit definitions for the Instruction TLB Match Register |
306,7 → 309,7
#define SPR_ITLBMR_PL1 0x00000002 /* Page Level 1 (if 0 then PL2) */ |
#define SPR_ITLBMR_CID 0x0000003c /* Context ID */ |
#define SPR_ITLBMR_LRU 0x000000c0 /* Least Recently Used */ |
#define SPR_ITLBMR_VPN 0xfffff000 /* Virtual Page Number */ |
#define SPR_ITLBMR_VPN 0xffffe000 /* Virtual Page Number */ |
|
/* |
* Bit definitions for the Instruction TLB Translate Register |
320,7 → 323,7
#define SPR_ITLBTR_D 0x00000020 /* Dirty */ |
#define SPR_ITLBTR_SXE 0x00000040 /* User Read Enable */ |
#define SPR_ITLBTR_UXE 0x00000080 /* User Write Enable */ |
#define SPR_ITLBTR_PPN 0xfffff000 /* Physical Page Number */ |
#define SPR_ITLBTR_PPN 0xffffe000 /* Physical Page Number */ |
|
/* |
* Bit definitions for Data Cache Control register |
568,6 → 571,12
#define SPR_PICMR_IUM 0xfffffffc /* Interrupt unmask */ |
|
/* |
* Bit definitions for PICPR |
* |
*/ |
#define SPR_PICPR_IPRIO 0xfffffffc /* Interrupt priority */ |
|
/* |
* Bit definitions for PICSR |
* |
*/ |
577,8 → 586,8
* Bit definitions for Tick Timer Control Register |
* |
*/ |
#define SPR_TTCR_PERIOD 0x0fffffff /* Time Period */ |
#define SPR_TTMR_PERIOD SPR_TTCR_PERIOD |
#define SPR_TTCR_CNT 0xffffffff /* Count, time period */ |
#define SPR_TTMR_TP 0x0fffffff /* Time period */ |
#define SPR_TTMR_IP 0x10000000 /* Interrupt Pending */ |
#define SPR_TTMR_IE 0x20000000 /* Interrupt Enable */ |
#define SPR_TTMR_DI 0x00000000 /* Disabled */ |
/testsuite/test-code-or1k/aclocal.m4
1,4 → 1,4
# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
# 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. |
13,8 → 13,8
|
m4_ifndef([AC_AUTOCONF_VERSION], |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, |
[m4_warning([this file was generated for autoconf 2.65. |
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],, |
[m4_warning([this file was generated for autoconf 2.64. |
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'.])]) |
34,7 → 34,7
[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.1], [], |
m4_if([$1], [1.11], [], |
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
]) |
|
50,7 → 50,7
# 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.1])dnl |
[AM_AUTOMAKE_VERSION([1.11])dnl |
m4_ifndef([AC_AUTOCONF_VERSION], |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |
/testsuite/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
317,7 → 317,7
# (which will cause the Makefiles to be regenerated when you run `make'); |
# (2) otherwise, pass the desired values on the `make' command line. |
$(RECURSIVE_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
342,7 → 342,7
fi; test -z "$$fail" |
|
$(RECURSIVE_CLEAN_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
/testsuite/config/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/lib/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/or1ksim.tests/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/or1ksim.tests/tick.exp
43,8 → 43,6
"Test succeeded Timer started counting from high value" \ |
"Test succeeded Auto-restart wrapped round" \ |
"Test succeeded Continuous mode wrapped round" \ |
"Test succeeded Spurious interrupts handled with matching period" \ |
"Test succeeded Spurious interrupts handled after TTCR and TTMR" \ |
"!report(0xdeaddead);" \ |
"!exit(0)"] \ |
"" "tick/tick" |
/testsuite/test-code/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
301,7 → 301,7
# (which will cause the Makefiles to be regenerated when you run `make'); |
# (2) otherwise, pass the desired values on the `make' command line. |
$(RECURSIVE_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
326,7 → 326,7
fi; test -z "$$fail" |
|
$(RECURSIVE_CLEAN_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
/testsuite/test-code/lib-iftest/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code/lib-upcalls/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code/lib-jtag/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/testsuite/test-code/lib-inttest/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/peripheral/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
400,7 → 400,7
# (which will cause the Makefiles to be regenerated when you run `make'); |
# (2) otherwise, pass the desired values on the `make' command line. |
$(RECURSIVE_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
425,7 → 425,7
fi; test -z "$$fail" |
|
$(RECURSIVE_CLEAN_TARGETS): |
@fail= failcom='exit 1'; \ |
@failcom='exit 1'; \ |
for f in x $$MAKEFLAGS; do \ |
case $$f in \ |
*=* | --[!k]*);; \ |
/peripheral/channels/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/peripheral/eth.c
45,8 → 45,10
#include <unistd.h> |
#include <errno.h> |
|
#if HAVE_LINUX_IF_TUN_H==1 |
#include <linux/if.h> |
#include <linux/if_tun.h> |
#endif |
|
/* Package includes */ |
#include "arch.h" |
189,6 → 191,8
} /* eth_write_file_packet () */ |
|
|
#if HAVE_LINUX_IF_TUN_H==1 |
|
/* -------------------------------------------------------------------------- */ |
/*!Write an Ethernet packet to a TAP interface. |
|
205,8 → 209,10
unsigned char *buf, |
unsigned long int length) |
{ |
ssize_t nwritten; |
ssize_t nwritten = 0; |
|
|
|
#if ETH_DEBUG |
int j; |
|
242,6 → 248,7
return nwritten; |
|
} /* eth_write_tap_packet () */ |
#endif |
|
|
/* -------------------------------------------------------------------------- */ |
266,7 → 273,9
switch (eth->rtx_type) |
{ |
case ETH_RTX_FILE: return eth_write_file_packet (eth, buf, length); |
#if HAVE_LINUX_IF_TUN_H==1 |
case ETH_RTX_TAP: return eth_write_tap_packet (eth, buf, length); |
#endif |
|
default: |
fprintf (stderr, "Unknown Ethernet write interface: ignored.\n"); |
472,6 → 481,8
} /* eth_read_file_packet () */ |
|
|
#if HAVE_LINUX_IF_TUN_H==1 |
|
/* -------------------------------------------------------------------------- */ |
/*!Read an Ethernet packet from a FILE interface. |
|
491,6 → 502,7
eth_read_tap_packet (struct eth_device *eth, |
unsigned char *buf) |
{ |
|
struct pollfd fds[1]; |
int n; |
ssize_t packet_length; |
540,6 → 552,7
} |
} /* eth_read_tap_packet () */ |
|
#endif |
|
/* -------------------------------------------------------------------------- */ |
/*!Read an Ethernet packet. |
560,7 → 573,9
switch (eth->rtx_type) |
{ |
case ETH_RTX_FILE: return eth_read_file_packet (eth, buf); |
#if HAVE_LINUX_IF_TUN_H==1 |
case ETH_RTX_TAP: return eth_read_tap_packet (eth, buf); |
#endif |
|
default: |
fprintf (stderr, "Unknown Ethernet read interface: ignored.\n"); |
720,8 → 735,11
eth_ignore_tap_packets (struct eth_device *eth) |
{ |
int result = 0; |
|
#if HAVE_LINUX_IF_TUN_H==1 |
|
int n; |
|
|
/* Read packets until there are none left. */ |
do |
{ |
766,6 → 784,8
} |
while (n > 0); |
|
#endif |
|
return result; |
|
} /* eth_ignore_tap_packets () */ |
959,6 → 979,7
} |
} /* eth_open_file_if () */ |
|
#if HAVE_LINUX_IF_TUN_H==1 |
|
/* -------------------------------------------------------------------------- */ |
/*!Open the external TAP interface to the Ethernet |
974,6 → 995,7
static void |
eth_open_tap_if (struct eth_device *eth) |
{ |
|
struct ifreq ifr; |
|
/* We don't support re-opening. If it's open, it stays open. */ |
1010,9 → 1032,12
#if ETH_DEBUG |
PRINTF ("Opened TAP %s\n", ifr.ifr_name); |
#endif |
|
} /* eth_open_tap_if () */ |
|
#endif |
|
|
/* -------------------------------------------------------------------------- */ |
/*!Open the external interface to the Ethernet |
|
1026,7 → 1051,9
switch (eth->rtx_type) |
{ |
case ETH_RTX_FILE: eth_open_file_if (eth); break; |
#if HAVE_LINUX_IF_TUN_H==1 |
case ETH_RTX_TAP: eth_open_tap_if (eth); break; |
#endif |
|
default: |
fprintf (stderr, "Unknown Ethernet interface: ignored.\n"); |
1685,11 → 1712,13
printf ("Ethernet FILE type\n"); |
eth->rtx_type = ETH_RTX_FILE; |
} |
#if HAVE_LINUX_IF_TUN_H==1 |
else if (0 == strcasecmp ("tap", val.str_val)) |
{ |
printf ("Ethernet TAP type\n"); |
eth->rtx_type = ETH_RTX_TAP; |
} |
#endif |
else |
{ |
fprintf (stderr, "Warning: Unknown Ethernet type: file assumed.\n"); |
/mmu/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/vapi/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/config.h.in
66,6 → 66,9
/* Define to 1 if you have the <limits.h> header file. */ |
#undef HAVE_LIMITS_H |
|
/* Define to 1 if you have the <linux/if_tun.h> header file. */ |
#undef HAVE_LINUX_IF_TUN_H |
|
/* Define to 1 if you have the <locale.h> header file. */ |
#undef HAVE_LOCALE_H |
|
/bpb/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/configure
1,16 → 1,14
#! /bin/sh |
# From configure.ac Id: configure.ac 1511 2011-04-09 15:09:58Z jeremy using automake version AC_ACVERSION. |
# From configure.ac Id: configure.ac 532 2011-04-28 18:34:59Z jeremybennett using automake version AC_ACVERSION. |
# Guess values for system-dependent variables and create Makefiles. |
# Generated by GNU Autoconf 2.65 for or1ksim 2011-04-28. |
# Generated by GNU Autoconf 2.64 for or1ksim 2011-04-28. |
# |
# Report bugs to <openrisc@opencores.org>. |
# |
# |
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, |
# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation, |
# Inc. |
# 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. |
# |
699,8 → 697,7
|
|
|
test -n "$DJDIR" || exec 7<&0 </dev/null |
exec 6>&1 |
exec 7<&0 </dev/null 6>&1 |
|
# Name of the host. |
# hostname on some systems (SVR3.2, Linux) returns a bogus exit status, |
1582,7 → 1579,7
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 (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if |
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 |
CCAS assembler compiler command (defaults to CC) |
1655,7 → 1652,7
if $ac_init_version; then |
cat <<\_ACEOF |
or1ksim configure 2011-04-28 |
generated by GNU Autoconf 2.65 |
generated by GNU Autoconf 2.64 |
|
Copyright (C) 2009 Free Software Foundation, Inc. |
This configure script is free software; the Free Software Foundation |
1722,7 → 1719,7
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 |
return $ac_retval |
|
} # ac_fn_c_try_compile |
|
1759,7 → 1756,7
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 |
return $ac_retval |
|
} # ac_fn_c_try_cpp |
|
1894,7 → 1891,7
fi |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
as_fn_set_status $ac_retval |
return $ac_retval |
|
} # ac_fn_c_try_run |
|
1971,7 → 1968,7
# left behind by Apple's compiler. We do this before executing the actions. |
rm -rf conftest.dSYM conftest_ipa8_conftest.oo |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
as_fn_set_status $ac_retval |
return $ac_retval |
|
} # ac_fn_c_try_link |
|
2309,7 → 2306,7
|
fi |
eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} |
as_fn_set_status $ac_retval |
return $ac_retval |
|
} # ac_fn_c_compute_int |
cat >config.log <<_ACEOF |
2317,7 → 2314,7
running configure, to aid debugging if configure makes a mistake. |
|
It was created by or1ksim $as_me 2011-04-28, which was |
generated by GNU Autoconf 2.65. Invocation command line was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
$ $0 $@ |
|
2570,7 → 2567,7
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 |
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 |
2579,9 → 2576,9
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 |
# 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 |
2988,8 → 2985,8
... rest of stderr output deleted ... |
10q' conftest.err >conftest.er1 |
cat conftest.er1 >&5 |
rm -f conftest.er1 conftest.err |
fi |
rm -f conftest.er1 conftest.err |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } |
done |
2996,10 → 2993,12
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
|
#include <stdio.h> |
int |
main () |
{ |
FILE *f = fopen ("conftest.out", "w"); |
return ferror (f) || fclose (f) != 0; |
|
; |
return 0; |
3006,12 → 3005,12
} |
_ACEOF |
ac_clean_files_save=$ac_clean_files |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" |
ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.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. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` |
|
# The possible output files: |
3073,10 → 3072,10
else |
ac_file='' |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
$as_echo "$ac_file" >&6; } |
if test -z "$ac_file"; then : |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 |
$as_echo "no" >&6; } |
$as_echo "$as_me: failed program was:" >&5 |
$as_echo "$as_me: failed program was:" >&5 |
sed 's/^/| /' conftest.$ac_ext >&5 |
|
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
3084,18 → 3083,51
{ as_fn_set_status 77 |
as_fn_error "C compiler cannot create executables |
See \`config.log' for more details." "$LINENO" 5; }; } |
else |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
$as_echo "yes" >&6; } |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 |
$as_echo_n "checking for C compiler default output file name... " >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 |
$as_echo "$ac_file" >&6; } |
ac_exeext=$ac_cv_exeext |
|
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out |
# Check that the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 |
$as_echo_n "checking whether the C compiler works... " >&6; } |
# 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 ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" |
$as_echo "$ac_try_echo"; } >&5 |
(eval "$ac_try") 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; }; }; then |
cross_compiling=no |
else |
if test "$cross_compiling" = maybe; then |
cross_compiling=yes |
else |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error "cannot run C compiled programs. |
If you meant to cross compile, use \`--host'. |
See \`config.log' for more details." "$LINENO" 5; } |
fi |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 |
$as_echo "yes" >&6; } |
|
rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.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. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
$as_echo "$cross_compiling" >&6; } |
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 |
$as_echo_n "checking for suffix of executables... " >&6; } |
if { { ac_try="$ac_link" |
3128,7 → 3160,7
as_fn_error "cannot compute suffix of executables: cannot compile and link |
See \`config.log' for more details." "$LINENO" 5; } |
fi |
rm -f conftest conftest$ac_cv_exeext |
rm -f conftest$ac_cv_exeext |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 |
$as_echo "$ac_cv_exeext" >&6; } |
|
3135,65 → 3167,6
rm -f conftest.$ac_ext |
EXEEXT=$ac_cv_exeext |
ac_exeext=$EXEEXT |
cat confdefs.h - <<_ACEOF >conftest.$ac_ext |
/* end confdefs.h. */ |
#include <stdio.h> |
int |
main () |
{ |
FILE *f = fopen ("conftest.out", "w"); |
return ferror (f) || fclose (f) != 0; |
|
; |
return 0; |
} |
_ACEOF |
ac_clean_files="$ac_clean_files conftest.out" |
# Check that the compiler produces executables we can run. If not, either |
# the compiler is broken, or we cross compile. |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 |
$as_echo_n "checking whether we are cross compiling... " >&6; } |
if test "$cross_compiling" != yes; then |
{ { ac_try="$ac_link" |
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_link") 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } |
if { ac_try='./conftest$ac_cv_exeext' |
{ { 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_try") 2>&5 |
ac_status=$? |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; }; }; then |
cross_compiling=no |
else |
if test "$cross_compiling" = maybe; then |
cross_compiling=yes |
else |
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 |
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} |
as_fn_error "cannot run C compiled programs. |
If you meant to cross compile, use \`--host'. |
See \`config.log' for more details." "$LINENO" 5; } |
fi |
fi |
fi |
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 |
$as_echo "$cross_compiling" >&6; } |
|
rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out |
ac_clean_files=$ac_clean_files_save |
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 |
$as_echo_n "checking for suffix of object files... " >&6; } |
if test "${ac_cv_objext+set}" = set; then : |
4539,13 → 4512,13
else |
lt_cv_nm_interface="BSD nm" |
echo "int some_variable = 0;" > conftest.$ac_ext |
(eval echo "\"\$as_me:4542: $ac_compile\"" >&5) |
(eval echo "\"\$as_me:4515: $ac_compile\"" >&5) |
(eval "$ac_compile" 2>conftest.err) |
cat conftest.err >&5 |
(eval echo "\"\$as_me:4545: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
(eval echo "\"\$as_me:4518: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
(eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
cat conftest.err >&5 |
(eval echo "\"\$as_me:4548: output\"" >&5) |
(eval echo "\"\$as_me:4521: output\"" >&5) |
cat conftest.out >&5 |
if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
lt_cv_nm_interface="MS dumpbin" |
5750,7 → 5723,7
;; |
*-*-irix6*) |
# Find out which ABI we are using. |
echo '#line 5753 "configure"' > conftest.$ac_ext |
echo '#line 5726 "configure"' > conftest.$ac_ext |
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
(eval $ac_compile) 2>&5 |
ac_status=$? |
7012,11 → 6985,11
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:7015: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:6988: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
cat conftest.err >&5 |
echo "$as_me:7019: \$? = $ac_status" >&5 |
echo "$as_me:6992: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
7351,11 → 7324,11
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:7354: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7327: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>conftest.err) |
ac_status=$? |
cat conftest.err >&5 |
echo "$as_me:7358: \$? = $ac_status" >&5 |
echo "$as_me:7331: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s "$ac_outfile"; then |
# The compiler can only warn and ignore the option if not recognized |
# So say no if there are warnings other than the usual output. |
7456,11 → 7429,11
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:7459: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7432: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? |
cat out/conftest.err >&5 |
echo "$as_me:7463: \$? = $ac_status" >&5 |
echo "$as_me:7436: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then |
# The compiler can only warn and ignore the option if not recognized |
7511,11 → 7484,11
-e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
-e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
-e 's:$: $lt_compiler_flag:'` |
(eval echo "\"\$as_me:7514: $lt_compile\"" >&5) |
(eval echo "\"\$as_me:7487: $lt_compile\"" >&5) |
(eval "$lt_compile" 2>out/conftest.err) |
ac_status=$? |
cat out/conftest.err >&5 |
echo "$as_me:7518: \$? = $ac_status" >&5 |
echo "$as_me:7491: \$? = $ac_status" >&5 |
if (exit $ac_status) && test -s out/conftest2.$ac_objext |
then |
# The compiler can only warn and ignore the option if not recognized |
9894,7 → 9867,7
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<_LT_EOF |
#line 9897 "configure" |
#line 9870 "configure" |
#include "confdefs.h" |
|
#if HAVE_DLFCN_H |
9990,7 → 9963,7
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
lt_status=$lt_dlunknown |
cat > conftest.$ac_ext <<_LT_EOF |
#line 9993 "configure" |
#line 9966 "configure" |
#include "confdefs.h" |
|
#if HAVE_DLFCN_H |
10531,7 → 10504,6
|
fi |
|
test -d ./--version && rmdir ./--version |
if test "${ac_cv_path_mkdir+set}" = set; then |
MKDIR_P="$ac_cv_path_mkdir -p" |
else |
10539,6 → 10511,7
# 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. |
test -d ./--version && rmdir ./--version |
MKDIR_P="$ac_install_sh -d" |
fi |
fi |
11385,8 → 11358,8
... rest of stderr output deleted ... |
10q' conftest.err >conftest.er1 |
cat conftest.er1 >&5 |
rm -f conftest.er1 conftest.err |
fi |
rm -f conftest.er1 conftest.err |
$as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
test $ac_status = 0; } |
done |
11842,7 → 11815,7
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \ |
termcap.h termios.h termio.h sys/file.h locale.h getopt.h \ |
net/ethernet.h sys/ethernet.h malloc.h inttypes.h libintl.h \ |
limits.h |
limits.h linux/if_tun.h |
do : |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13737,7 → 13710,7
# values after options handling. |
ac_log=" |
This file was extended by or1ksim $as_me 2011-04-28, which was |
generated by GNU Autoconf 2.65. Invocation command line was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
CONFIG_FILES = $CONFIG_FILES |
CONFIG_HEADERS = $CONFIG_HEADERS |
13777,7 → 13750,6
|
-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 |
13800,11 → 13772,10
|
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
ac_cs_version="\\ |
or1ksim config.status 2011-04-28 |
configured by $0, generated by GNU Autoconf 2.65, |
with options \\"\$ac_cs_config\\" |
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 |
13842,8 → 13813,6
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 ) |
14318,7 → 14287,7
t delim |
:nl |
h |
s/\(.\{148\}\)..*/\1/ |
s/\(.\{148\}\).*/\1/ |
t more1 |
s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/ |
p |
14332,7 → 14301,7
t nl |
:delim |
h |
s/\(.\{148\}\)..*/\1/ |
s/\(.\{148\}\).*/\1/ |
t more2 |
s/["\\]/\\&/g; s/^/"/; s/$/"/ |
p |
/port/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/tick/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/tick/tick.c
92,7 → 92,7
{ |
cpu_state.sprs[SPR_TTCR] = 0; |
cycles_start = runtime.sim.cycles; |
SCHED_ADD (tick_restart, NULL, cpu_state.sprs[SPR_TTMR] & SPR_TTMR_PERIOD); |
SCHED_ADD (tick_restart, NULL, cpu_state.sprs[SPR_TTMR] & SPR_TTMR_TP); |
} |
|
/*! Stops the timer */ |
99,7 → 99,7
static void |
tick_one_shot (void *dat) |
{ |
cpu_state.sprs[SPR_TTCR] = cpu_state.sprs[SPR_TTMR] & SPR_TTMR_PERIOD; |
cpu_state.sprs[SPR_TTCR] = cpu_state.sprs[SPR_TTMR] & SPR_TTMR_TP; |
tick_count = 0; |
} |
|
108,8 → 108,8
sched_timer_job (uorreg_t prev_ttmr) |
{ |
uorreg_t ttmr = cpu_state.sprs[SPR_TTMR]; |
uint32_t match_time = ttmr & SPR_TTMR_PERIOD; |
uint32_t ttcr_period = spr_read_ttcr () & SPR_TTCR_PERIOD; |
uint32_t match_time = ttmr & SPR_TTMR_TP; |
uint32_t ttcr_period = spr_read_ttcr () & SPR_TTCR_CNT; |
|
/* Remove previous jobs if they exists */ |
if ((prev_ttmr & SPR_TTMR_IE) && !(ttmr & SPR_TTMR_IP)) |
196,7 → 196,7
tick_count = value & SPR_TTMR_M; |
|
if ((tick_count == 0xc0000000) && |
(cpu_state.sprs[SPR_TTCR] == (value & SPR_TTMR_PERIOD))) |
(cpu_state.sprs[SPR_TTCR] == (value & SPR_TTMR_TP))) |
{ |
tick_count = 0; |
} |
/softfloat/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/argtable2/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/pic/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/pm/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/autom4te.cache/output.1
1,7 → 1,7
@%:@! /bin/sh |
@%:@ From configure.ac Id: configure.ac 450 2010-12-15 15:41:08Z jeremybennett using automake version AC_ACVERSION. |
@%:@ From configure.ac Id: configure.ac 532 2011-04-28 18:34:59Z jeremybennett using automake version AC_ACVERSION. |
@%:@ Guess values for system-dependent variables and create Makefiles. |
@%:@ Generated by GNU Autoconf 2.64 for or1ksim 2010-12-15. |
@%:@ Generated by GNU Autoconf 2.64 for or1ksim 2011-04-28. |
@%:@ |
@%:@ Report bugs to <openrisc@opencores.org>. |
@%:@ |
719,8 → 719,8
# Identity of this package. |
PACKAGE_NAME='or1ksim' |
PACKAGE_TARNAME='or1ksim' |
PACKAGE_VERSION='2010-12-15' |
PACKAGE_STRING='or1ksim 2010-12-15' |
PACKAGE_VERSION='2011-04-28' |
PACKAGE_STRING='or1ksim 2011-04-28' |
PACKAGE_BUGREPORT='openrisc@opencores.org' |
PACKAGE_URL='' |
|
1473,7 → 1473,7
# 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 or1ksim 2010-12-15 to adapt to many kinds of systems. |
\`configure' configures or1ksim 2011-04-28 to adapt to many kinds of systems. |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1544,7 → 1544,7
|
if test -n "$ac_init_help"; then |
case $ac_init_help in |
short | recursive ) echo "Configuration of or1ksim 2010-12-15:";; |
short | recursive ) echo "Configuration of or1ksim 2011-04-28:";; |
esac |
cat <<\_ACEOF |
|
1651,7 → 1651,7
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
cat <<\_ACEOF |
or1ksim configure 2010-12-15 |
or1ksim configure 2011-04-28 |
generated by GNU Autoconf 2.64 |
|
Copyright (C) 2009 Free Software Foundation, Inc. |
2313,7 → 2313,7
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
|
It was created by or1ksim $as_me 2010-12-15, which was |
It was created by or1ksim $as_me 2011-04-28, which was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
$ $0 $@ |
10690,7 → 10690,7
|
# Define the identity of the package. |
PACKAGE='or1ksim' |
VERSION='2010-12-15' |
VERSION='2011-04-28' |
|
|
cat >>confdefs.h <<_ACEOF |
11815,7 → 11815,7
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \ |
termcap.h termios.h termio.h sys/file.h locale.h getopt.h \ |
net/ethernet.h sys/ethernet.h malloc.h inttypes.h libintl.h \ |
limits.h |
limits.h linux/if_tun.h |
do : |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13709,7 → 13709,7
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
ac_log=" |
This file was extended by or1ksim $as_me 2010-12-15, which was |
This file was extended by or1ksim $as_me 2011-04-28, which was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
CONFIG_FILES = $CONFIG_FILES |
13773,7 → 13773,7
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_version="\\ |
or1ksim config.status 2010-12-15 |
or1ksim config.status 2011-04-28 |
configured by $0, generated by GNU Autoconf 2.64, |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
/autom4te.cache/traces.0
3,7 → 3,7
m4trace:aclocal.m4:1011: -1- m4_include([m4/ltsugar.m4]) |
m4trace:aclocal.m4:1012: -1- m4_include([m4/ltversion.m4]) |
m4trace:aclocal.m4:1013: -1- m4_include([m4/lt~obsolete.m4]) |
m4trace:configure.ac:31: -1- AC_INIT([or1ksim], [2010-12-15], [openrisc@opencores.org]) |
m4trace:configure.ac:31: -1- AC_INIT([or1ksim], [2011-04-28], [openrisc@opencores.org]) |
m4trace:configure.ac:31: -1- m4_pattern_forbid([^_?A[CHUM]_]) |
m4trace:configure.ac:31: -1- m4_pattern_forbid([_AC_]) |
m4trace:configure.ac:31: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) |
648,6 → 648,8
@%:@undef HAVE_LIBINTL_H]) |
m4trace:configure.ac:97: -1- AH_OUTPUT([HAVE_LIMITS_H], [/* Define to 1 if you have the <limits.h> header file. */ |
@%:@undef HAVE_LIMITS_H]) |
m4trace:configure.ac:97: -1- AH_OUTPUT([HAVE_LINUX_IF_TUN_H], [/* Define to 1 if you have the <linux/if_tun.h> header file. */ |
@%:@undef HAVE_LINUX_IF_TUN_H]) |
m4trace:configure.ac:102: -1- AH_OUTPUT([HAVE_STRCASECMP], [/* Define to 1 if you have the `strcasecmp\' function. */ |
@%:@undef HAVE_STRCASECMP]) |
m4trace:configure.ac:102: -1- AH_OUTPUT([HAVE_SELECT], [/* Define to 1 if you have the `select\' function. */ |
/autom4te.cache/output.0
1,7 → 1,7
@%:@! /bin/sh |
@%:@ From configure.ac Id: configure.ac 450 2010-12-15 15:41:08Z jeremybennett using automake version AC_ACVERSION. |
@%:@ From configure.ac Id: configure.ac 532 2011-04-28 18:34:59Z jeremybennett using automake version AC_ACVERSION. |
@%:@ Guess values for system-dependent variables and create Makefiles. |
@%:@ Generated by GNU Autoconf 2.64 for or1ksim 2010-12-15. |
@%:@ Generated by GNU Autoconf 2.64 for or1ksim 2011-04-28. |
@%:@ |
@%:@ Report bugs to <openrisc@opencores.org>. |
@%:@ |
719,8 → 719,8
# Identity of this package. |
PACKAGE_NAME='or1ksim' |
PACKAGE_TARNAME='or1ksim' |
PACKAGE_VERSION='2010-12-15' |
PACKAGE_STRING='or1ksim 2010-12-15' |
PACKAGE_VERSION='2011-04-28' |
PACKAGE_STRING='or1ksim 2011-04-28' |
PACKAGE_BUGREPORT='openrisc@opencores.org' |
PACKAGE_URL='' |
|
1473,7 → 1473,7
# 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 or1ksim 2010-12-15 to adapt to many kinds of systems. |
\`configure' configures or1ksim 2011-04-28 to adapt to many kinds of systems. |
|
Usage: $0 [OPTION]... [VAR=VALUE]... |
|
1544,7 → 1544,7
|
if test -n "$ac_init_help"; then |
case $ac_init_help in |
short | recursive ) echo "Configuration of or1ksim 2010-12-15:";; |
short | recursive ) echo "Configuration of or1ksim 2011-04-28:";; |
esac |
cat <<\_ACEOF |
|
1651,7 → 1651,7
test -n "$ac_init_help" && exit $ac_status |
if $ac_init_version; then |
cat <<\_ACEOF |
or1ksim configure 2010-12-15 |
or1ksim configure 2011-04-28 |
generated by GNU Autoconf 2.64 |
|
Copyright (C) 2009 Free Software Foundation, Inc. |
2313,7 → 2313,7
This file contains any messages produced by compilers while |
running configure, to aid debugging if configure makes a mistake. |
|
It was created by or1ksim $as_me 2010-12-15, which was |
It was created by or1ksim $as_me 2011-04-28, which was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
$ $0 $@ |
10690,7 → 10690,7
|
# Define the identity of the package. |
PACKAGE='or1ksim' |
VERSION='2010-12-15' |
VERSION='2011-04-28' |
|
|
cat >>confdefs.h <<_ACEOF |
11815,7 → 11815,7
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \ |
termcap.h termios.h termio.h sys/file.h locale.h getopt.h \ |
net/ethernet.h sys/ethernet.h malloc.h inttypes.h libintl.h \ |
limits.h |
limits.h linux/if_tun.h |
do : |
as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` |
ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" |
13709,7 → 13709,7
# report actual input values of CONFIG_FILES etc. instead of their |
# values after options handling. |
ac_log=" |
This file was extended by or1ksim $as_me 2010-12-15, which was |
This file was extended by or1ksim $as_me 2011-04-28, which was |
generated by GNU Autoconf 2.64. Invocation command line was |
|
CONFIG_FILES = $CONFIG_FILES |
13773,7 → 13773,7
_ACEOF |
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
ac_cs_version="\\ |
or1ksim config.status 2010-12-15 |
or1ksim config.status 2011-04-28 |
configured by $0, generated by GNU Autoconf 2.64, |
with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" |
|
/support/Makefile.in
1,4 → 1,4
# Makefile.in generated by automake 1.11.1 from Makefile.am. |
# Makefile.in generated by automake 1.11 from Makefile.am. |
# @configure_input@ |
|
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, |
/aclocal.m4
1,4 → 1,4
# generated automatically by aclocal 1.11.1 -*- Autoconf -*- |
# 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. |
13,8 → 13,8
|
m4_ifndef([AC_AUTOCONF_VERSION], |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],, |
[m4_warning([this file was generated for autoconf 2.65. |
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.64],, |
[m4_warning([this file was generated for autoconf 2.64. |
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'.])]) |
34,7 → 34,7
[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.1], [], |
m4_if([$1], [1.11], [], |
[AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
]) |
|
50,7 → 50,7
# 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.1])dnl |
[AM_AUTOMAKE_VERSION([1.11])dnl |
m4_ifndef([AC_AUTOCONF_VERSION], |
[m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))]) |