From 1035731b503f45ee6fc00ff3899e3a8b86824a5d Mon Sep 17 00:00:00 2001 From: Ian Carmichael Date: Tue, 20 Jan 1998 19:22:25 +0000 Subject: [PATCH] * Devices now get a issue() call. * * Modified Files: * ChangeLog configure engine-sky.c hardware.h pke0.c pke0.h * pke1.c pke1.h vu0.c vu0.h vu1.c vu1.h --- sim/txvu/ChangeLog | 4 ++ sim/txvu/configure | 114 ++++++++++++++++++++++++-------------------------- sim/txvu/engine-sky.c | 49 ++++++++++++++++++---- sim/txvu/hardware.h | 2 + sim/txvu/pke0.c | 5 +++ sim/txvu/pke0.h | 1 + sim/txvu/pke1.c | 5 +++ sim/txvu/pke1.h | 1 + sim/txvu/vu0.c | 5 +++ sim/txvu/vu0.h | 1 + sim/txvu/vu1.c | 5 +++ sim/txvu/vu1.h | 1 + 12 files changed, 125 insertions(+), 68 deletions(-) diff --git a/sim/txvu/ChangeLog b/sim/txvu/ChangeLog index f6c8673..b991b8d 100644 --- a/sim/txvu/ChangeLog +++ b/sim/txvu/ChangeLog @@ -1,5 +1,9 @@ Fri Jan 16 14:25:54 1998 Ian Carmichael + * Devices now get decode() call + +Fri Jan 16 14:25:54 1998 Ian Carmichael + * Initial Device Support Thu Jan 15 10:25:54 1998 Ian Carmichael diff --git a/sim/txvu/configure b/sim/txvu/configure index 53d86a6..1ea2d95 100755 --- a/sim/txvu/configure +++ b/sim/txvu/configure @@ -76,7 +76,7 @@ # Guess values for system-dependent variables and create Makefiles. -# Generated automatically using autoconf version 2.12.1 +# Generated automatically using autoconf version 2.12 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. # # This configure script is free software; the Free Software Foundation @@ -152,7 +152,6 @@ mandir='${prefix}/man' # Initialize some other variables. subdirs= MFLAGS= MAKEFLAGS= -SHELL=${CONFIG_SHELL-/bin/sh} # Maximum number of lines to put in a shell here document. ac_max_here_lines=12 @@ -436,7 +435,7 @@ EOF verbose=yes ;; -version | --version | --versio | --versi | --vers) - echo "configure generated by autoconf version 2.12.1" + echo "configure generated by autoconf version 2.12" exit 0 ;; -with-* | --with-*) @@ -624,7 +623,7 @@ fi echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 -echo "configure:628: checking how to run the C preprocessor" >&5 +echo "configure:627: checking how to run the C preprocessor" >&5 # On Suns, sometimes $CPP names a directory. if test -n "$CPP" && test -d "$CPP"; then CPP= @@ -639,13 +638,13 @@ else # On the NeXT, cc -E runs the code through the compiler's parser, # not just through cpp. cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:648: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -656,13 +655,13 @@ else rm -rf conftest* CPP="${CC-cc} -E -traditional-cpp" cat > conftest.$ac_ext < Syntax Error EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:666: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then : @@ -730,33 +729,33 @@ esac # Make sure we can run config.sub. -if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then : +if $ac_config_sub sun4 >/dev/null 2>&1; then : else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; } fi echo $ac_n "checking host system type""... $ac_c" 1>&6 -echo "configure:739: checking host system type" >&5 +echo "configure:738: checking host system type" >&5 host_alias=$host case "$host_alias" in NONE) case $nonopt in NONE) - if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then : + if host_alias=`$ac_config_guess`; then : else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; } fi ;; *) host_alias=$nonopt ;; esac ;; esac -host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias` +host=`$ac_config_sub $host_alias` host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$host" 1>&6 echo $ac_n "checking target system type""... $ac_c" 1>&6 -echo "configure:760: checking target system type" >&5 +echo "configure:759: checking target system type" >&5 target_alias=$target case "$target_alias" in @@ -767,14 +766,14 @@ NONE) esac ;; esac -target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias` +target=`$ac_config_sub $target_alias` target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` echo "$ac_t""$target" 1>&6 echo $ac_n "checking build system type""... $ac_c" 1>&6 -echo "configure:778: checking build system type" >&5 +echo "configure:777: checking build system type" >&5 build_alias=$build case "$build_alias" in @@ -785,7 +784,7 @@ NONE) esac ;; esac -build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias` +build=`$ac_config_sub $build_alias` build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'` build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'` build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'` @@ -818,7 +817,7 @@ test "$program_transform_name" = "" && program_transform_name="s,x,x," # Extract the first word of "gcc", so it can be a program name with args. set dummy gcc; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:822: checking for $ac_word" >&5 +echo "configure:821: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -847,7 +846,7 @@ 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 $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:851: checking for $ac_word" >&5 +echo "configure:850: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -895,7 +894,7 @@ fi fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 -echo "configure:899: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 +echo "configure:898: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 ac_ext=c # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. @@ -905,11 +904,11 @@ ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS cross_compiling=$ac_cv_prog_cc_cross cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then @@ -929,12 +928,12 @@ if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 -echo "configure:933: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 +echo "configure:932: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 cross_compiling=$ac_cv_prog_cc_cross echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 -echo "configure:938: checking whether we are using GNU C" >&5 +echo "configure:937: checking whether we are using GNU C" >&5 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -943,7 +942,7 @@ else yes; #endif EOF -if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then +if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:946: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then ac_cv_prog_gcc=yes else ac_cv_prog_gcc=no @@ -958,7 +957,7 @@ if test $ac_cv_prog_gcc = yes; then ac_save_CFLAGS="$CFLAGS" CFLAGS= echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 -echo "configure:962: checking whether ${CC-cc} accepts -g" >&5 +echo "configure:961: checking whether ${CC-cc} accepts -g" >&5 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -992,12 +991,11 @@ fi # SunOS /usr/etc/install # IRIX /sbin/install # AIX /bin/install -# 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" # ./install, which can be erroneously created by make from ./install.sh. echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 -echo "configure:1001: checking for a BSD compatible install" >&5 +echo "configure:999: checking for a BSD compatible install" >&5 if test -z "$INSTALL"; then if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1009,13 +1007,12 @@ else /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/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_prog in ginstall installbsd scoinst install; do if test -f $ac_dir/$ac_prog; then if test $ac_prog = install && grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then # AIX install. It has an incompatible calling convention. + # OSF/1 installbsd also uses dspmsg, but is usable. : else ac_cv_path_install="$ac_dir/$ac_prog -c" @@ -1063,7 +1060,7 @@ AR=${AR-ar} # Extract the first word of "ranlib", so it can be a program name with args. set dummy ranlib; ac_word=$2 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 -echo "configure:1067: checking for $ac_word" >&5 +echo "configure:1064: checking for $ac_word" >&5 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else @@ -1097,17 +1094,17 @@ for ac_hdr in stdlib.h string.h strings.h unistd.h time.h sys/time.h sys/resourc do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1101: checking for $ac_hdr" >&5 +echo "configure:1098: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1111: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -1136,12 +1133,12 @@ done for ac_func in getrusage time sigaction do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1140: checking for $ac_func" >&5 +echo "configure:1137: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1165: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -1319,12 +1316,12 @@ fi echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6 -echo "configure:1323: checking return type of signal handlers" >&5 +echo "configure:1320: checking return type of signal handlers" >&5 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < #include @@ -1341,7 +1338,7 @@ int main() { int i; ; return 0; } EOF -if { (eval echo configure:1345: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1342: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_type_signal=void else @@ -1485,14 +1482,14 @@ else if test "x$cross_compiling" = "xno"; then echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6 -echo "configure:1489: checking whether byte ordering is bigendian" >&5 +echo "configure:1486: checking whether byte ordering is bigendian" >&5 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else ac_cv_c_bigendian=unknown # See if sys/param.h defines the BYTE_ORDER macro. cat > conftest.$ac_ext < #include @@ -1503,11 +1500,11 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:1507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* # It does; now see whether it defined to BIG_ENDIAN or not. cat > conftest.$ac_ext < #include @@ -1518,7 +1515,7 @@ int main() { #endif ; return 0; } EOF -if { (eval echo configure:1522: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then +if { (eval echo configure:1519: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then rm -rf conftest* ac_cv_c_bigendian=yes else @@ -1538,7 +1535,7 @@ if test "$cross_compiling" = yes; then { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; } else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null +if { (eval echo configure:1552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest && (./conftest; exit) 2>/dev/null then ac_cv_c_bigendian=no else @@ -1871,17 +1868,17 @@ for ac_hdr in string.h strings.h stdlib.h stdlib.h do ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 -echo "configure:1875: checking for $ac_hdr" >&5 +echo "configure:1872: checking for $ac_hdr" >&5 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext < EOF ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" -{ (eval echo configure:1885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } +{ (eval echo configure:1882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } ac_err=`grep -v '^ *+' conftest.out` if test -z "$ac_err"; then rm -rf conftest* @@ -1908,7 +1905,7 @@ fi done echo $ac_n "checking for fabs in -lm""... $ac_c" 1>&6 -echo "configure:1912: checking for fabs in -lm" >&5 +echo "configure:1909: checking for fabs in -lm" >&5 ac_lib_var=`echo m'_'fabs | sed 'y%./+-%__p_%'` if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 @@ -1916,7 +1913,7 @@ else ac_save_LIBS="$LIBS" LIBS="-lm $LIBS" cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_lib_$ac_lib_var=yes" else @@ -1957,12 +1954,12 @@ fi for ac_func in aint anint sqrt do echo $ac_n "checking for $ac_func""... $ac_c" 1>&6 -echo "configure:1961: checking for $ac_func" >&5 +echo "configure:1958: checking for $ac_func" >&5 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then echo $ac_n "(cached) $ac_c" 1>&6 else cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest; then +if { (eval echo configure:1986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest; then rm -rf conftest* eval "ac_cv_func_$ac_func=yes" else @@ -2035,7 +2032,7 @@ EOF # 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. (set) 2>&1 | - case `(ac_space=' '; set) 2>&1 | grep ac_space` in + case `(ac_space=' '; set) 2>&1` in *ac_space=\ *) # `set' does not quote correctly, so add quotes (double-quote substitution # turns \\\\ into \\, and sed turns \\ into \). @@ -2102,7 +2099,7 @@ do echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) - echo "$CONFIG_STATUS generated by autoconf version 2.12.1" + echo "$CONFIG_STATUS generated by autoconf version 2.12" exit 0 ;; -help | --help | --hel | --he | --h) echo "\$ac_cs_usage"; exit 0 ;; @@ -2140,7 +2137,6 @@ s%@sim_smp@%$sim_smp%g s%@sim_stdcall@%$sim_stdcall%g s%@sim_xor_endian@%$sim_xor_endian%g s%@sim_warnings@%$sim_warnings%g -s%@SHELL@%$SHELL%g s%@CFLAGS@%$CFLAGS%g s%@CPPFLAGS@%$CPPFLAGS%g s%@CXXFLAGS@%$CXXFLAGS%g diff --git a/sim/txvu/engine-sky.c b/sim/txvu/engine-sky.c index 78143b2..52a3cb2 100644 --- a/sim/txvu/engine-sky.c +++ b/sim/txvu/engine-sky.c @@ -32,6 +32,8 @@ #include "sim-assert.h" +#include "hardware.h" + enum { /* greater or equal to zero => table */ function_entry = -1, @@ -55,37 +57,66 @@ INLINE_ENGINE\ sim_cpu *processor = NULL; instruction_address cia; int current_cpu = next_cpu_nr; + instruction_word instruction_0; /* Hard coded main loop. Not pretty, but should work. */ + ASSERT(current_cpu >= 0 && current_cpu < NUMBER_CPUS); - SIM_ASSERT (current_cpu == 0); - processor = STATE_CPU (sd, current_cpu); - cia = CPU_CIA (processor); + cia = CPU_CIA (0); /* Only the 5900 uses this. */ + processor = STATE_CPU (sd, 0); /* Only the 5900 uses this. */ + switch(current_cpu) + { + case 0: + goto cpu_0; + case 1: + goto cpu_1; + case 2: + goto cpu_2; + case 3: + goto cpu_3; + case 4: + goto cpu_4; + } + while (1) { - instruction_address nia; - instruction_word instruction_0 = IMEM (cia); +cpu_0: + + cia = CPU_CIA (processor); + instruction_0 = IMEM (cia); #if defined (ENGINE_ISSUE_PREFIX_HOOK) ENGINE_ISSUE_PREFIX_HOOK(); #endif - nia = idecode_issue(sd, instruction_0, cia); + cia = idecode_issue(sd, instruction_0, cia); #if defined (ENGINE_ISSUE_POSTFIX_HOOK) ENGINE_ISSUE_POSTFIX_HOOK(); #endif - /* Update the instruction address */ - cia = nia; + CPU_CIA (processor) = cia; + +cpu_1: + pke0_issue(); + +cpu_2: + pke1_issue(); + +cpu_3: + vu0_issue(); + +cpu_4: + vu1_issue(); + +events: /* process any events */ if (sim_events_tick (sd)) { - CPU_CIA (processor) = cia; sim_events_process (sd); } } diff --git a/sim/txvu/hardware.h b/sim/txvu/hardware.h index b70231b..d105df0 100644 --- a/sim/txvu/hardware.h +++ b/sim/txvu/hardware.h @@ -9,4 +9,6 @@ void create_devices(SIM_DESC sd); +#define NUMBER_CPUS 5 + #endif diff --git a/sim/txvu/pke0.c b/sim/txvu/pke0.c index be48cff..f0f4f07 100644 --- a/sim/txvu/pke0.c +++ b/sim/txvu/pke0.c @@ -7,6 +7,11 @@ #include "device.h" #include "pke0.h" +void +pke0_issue() +{ +} + int pke0_io_read_buffer(device *me, void *dest, diff --git a/sim/txvu/pke0.h b/sim/txvu/pke0.h index 633ac47..0b10980 100644 --- a/sim/txvu/pke0.h +++ b/sim/txvu/pke0.h @@ -8,6 +8,7 @@ #include "sim-main.h" void pke0_attach(SIM_DESC sd); +void pke0_issue(); #define PKE0_REGISTER_WINDOW_START 0x10000800 #define PKE0_REGISTER_WINDOW_END 0x10000980 diff --git a/sim/txvu/pke1.c b/sim/txvu/pke1.c index 62492f9..90f7047 100644 --- a/sim/txvu/pke1.c +++ b/sim/txvu/pke1.c @@ -7,6 +7,11 @@ #include "device.h" #include "pke1.h" +void +pke1_issue() +{ +} + int pke1_io_read_buffer(device *me, void *dest, diff --git a/sim/txvu/pke1.h b/sim/txvu/pke1.h index 04bd883..120ca29 100644 --- a/sim/txvu/pke1.h +++ b/sim/txvu/pke1.h @@ -8,6 +8,7 @@ #include "sim-main.h" void pke1_attach(SIM_DESC sd); +void pke1_issue(); #define PKE1_REGISTER_WINDOW_START 0x10000a00 #define PKE1_REGISTER_WINDOW_END 0x10000b80 diff --git a/sim/txvu/vu0.c b/sim/txvu/vu0.c index 9c82b9f..ce60db4 100644 --- a/sim/txvu/vu0.c +++ b/sim/txvu/vu0.c @@ -10,6 +10,11 @@ static char vu0_mem0_buffer[VU0_MEM0_SIZE]; static char vu0_mem1_buffer[VU0_MEM1_SIZE]; +void +vu0_issue() +{ +} + int vu0_io_read_buffer(device *me, void *dest, diff --git a/sim/txvu/vu0.h b/sim/txvu/vu0.h index 021a6f6..22d1272 100644 --- a/sim/txvu/vu0.h +++ b/sim/txvu/vu0.h @@ -8,6 +8,7 @@ #include "sim-main.h" void vu0_attach(SIM_DESC sd); +void vu0_issue(); #define VU0_MEM0_WINDOW_START 0x11000000 #define VU0_MEM0_SIZE 0x1000 /* 4K = 4096 */ diff --git a/sim/txvu/vu1.c b/sim/txvu/vu1.c index 049edd3..d233568 100644 --- a/sim/txvu/vu1.c +++ b/sim/txvu/vu1.c @@ -10,6 +10,11 @@ static char vu1_mem0_buffer[VU1_MEM0_SIZE]; static char vu1_mem1_buffer[VU1_MEM1_SIZE]; +void +vu1_issue() +{ +} + int vu1_io_read_buffer(device *me, void *dest, diff --git a/sim/txvu/vu1.h b/sim/txvu/vu1.h index f336361..393c84a 100644 --- a/sim/txvu/vu1.h +++ b/sim/txvu/vu1.h @@ -8,6 +8,7 @@ #include "sim-main.h" void vu1_attach(SIM_DESC sd); +void vu1_issue(); #define VU1_MEM0_WINDOW_START 0x11008000 #define VU1_MEM0_SIZE 0x4000 /* 16K = 16384 */ -- 2.7.4