aboutsummaryrefslogtreecommitdiff
path: root/devkit/cacheracer.h
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2016-01-14 15:57:20 -0700
committerDavid Li <li.davidm96@gmail.com>2016-01-14 15:57:20 -0700
commit7d5bd0af1e24372582c30f3ae3574b28db54505d (patch)
tree9c43d069551716855db9bcc53c51f03852103421 /devkit/cacheracer.h
parent5600ebffdf12117d398476f93897a8cc289eb468 (diff)
Add example of hitting a trap
Diffstat (limited to 'devkit/cacheracer.h')
-rw-r--r--devkit/cacheracer.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/devkit/cacheracer.h b/devkit/cacheracer.h
index 7e9aa8c..b9b4895 100644
--- a/devkit/cacheracer.h
+++ b/devkit/cacheracer.h
@@ -39,6 +39,12 @@ void __start(int core_id, unsigned char payload);
#define CACHE_NUM_BLOCKS 2
+/** Traps
+ */
+
+#define WRITE_TRAP 0xE0
+#define AREA_TRAP 0xE4
+
/** Definitions of global data */
#define TAUNT_SIZE 228