summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-01 19:47:17 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-01 19:47:17 +0000
commit3fc59546cb3c03f67a83ae903a6239dcb585d52c (patch)
treeb86b072bd1f3587da23f42261ddad4ffbb95ff5a /emulators
parentcd30642ccf45a5084ac7b2802b2e4b3ea13c3d55 (diff)
downloadpkgsrc-3fc59546cb3c03f67a83ae903a6239dcb585d52c.tar.gz
Fix inline usage.
Diffstat (limited to 'emulators')
-rw-r--r--emulators/or1ksim/distinfo3
-rw-r--r--emulators/or1ksim/patches/patch-cpu_common_execute.h15
2 files changed, 17 insertions, 1 deletions
diff --git a/emulators/or1ksim/distinfo b/emulators/or1ksim/distinfo
index e79ec918481..caa1d23c56c 100644
--- a/emulators/or1ksim/distinfo
+++ b/emulators/or1ksim/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/02/23 21:38:59 agc Exp $
+$NetBSD: distinfo,v 1.2 2012/11/01 19:47:17 joerg Exp $
SHA1 (or1ksim-0.2.0rc2.tar.gz) = 7db0dfcf60c072b4143f45a4214f5eb65f2fd5ff
RMD160 (or1ksim-0.2.0rc2.tar.gz) = 4111113389484969827e20f8c61caf33176b5407
Size (or1ksim-0.2.0rc2.tar.gz) = 624729 bytes
SHA1 (patch-aa) = 5e348fc6e687bab8edb0e5abe545d829cb781792
+SHA1 (patch-cpu_common_execute.h) = 7439ac0014e9783b9c983a7d4455e214e10ff2b0
diff --git a/emulators/or1ksim/patches/patch-cpu_common_execute.h b/emulators/or1ksim/patches/patch-cpu_common_execute.h
new file mode 100644
index 00000000000..fdaed3ddc23
--- /dev/null
+++ b/emulators/or1ksim/patches/patch-cpu_common_execute.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-cpu_common_execute.h,v 1.1 2012/11/01 19:47:17 joerg Exp $
+
+--- cpu/common/execute.h.orig 2012-10-30 20:06:03.000000000 +0000
++++ cpu/common/execute.h
+@@ -75,8 +75,8 @@ extern struct cpu_state cpu_state;
+ /*extern machword eval_operand(char *srcoperand,int* breakpoint);
+ extern void set_operand(char *dstoperand, unsigned long value,int* breakpoint);*/
+ void dumpreg();
+-inline void dump_exe_log();
+-inline int cpu_clock ();
++void dump_exe_log();
++int cpu_clock ();
+ void cpu_reset ();
+ uorreg_t evalsim_reg(unsigned int regno);
+ void setsim_reg(unsigned int regno, uorreg_t value);