summaryrefslogtreecommitdiffstats
path: root/sis.h
diff options
context:
space:
mode:
authorJiri Gaisler <jiri@gaisler.se>2019-05-28 00:02:40 +0200
committerJiri Gaisler <jiri@gaisler.se>2019-05-28 00:09:27 +0200
commit9277f1913aa341efbf6d111ec25e1dc863158cf5 (patch)
tree71fd2e77837ad5cd15d732ec208bfeca990ed275 /sis.h
parentAdd emulated L1 cache to SMP configurations (diff)
downloadsis-9277f1913aa341efbf6d111ec25e1dc863158cf5.tar.bz2
Made L1 cache optional through --enable-l1cache
* Removed stale config.h * Updated autoconf script with relevant checks * Re-implemented leon3/grlib timer with less events * Bumped version to 2.15
Diffstat (limited to 'sis.h')
-rw-r--r--sis.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sis.h b/sis.h
index ba90440..f4e2dab 100644
--- a/sis.h
+++ b/sis.h
@@ -58,6 +58,8 @@
#define L1DTAGBITS (L1DBITS - L1DLINEBITS)
#define L1DTAGS (1 << (L1DTAGBITS))
#define L1DMASK (L1DTAGS -1)
+#define T_L1IMISS 17
+#define T_L1DMISS 17
/* type definitions */
@@ -295,7 +297,7 @@ extern int cpu; /* active debug cpu */
extern int ncpu; /* number of online cpus */
extern int delta; /* time slice for MP simulation */
extern void pwd_enter(struct pstate *sregs);
-extern void remove_event(void (*cfunc) ());
+extern void remove_event(void (*cfunc) (), int32 arg);
extern int run_sim (uint64 icount, int dis);
void flush_windows (struct pstate *sregs);
void cov_start(int address);