summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/core.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-05-11 14:10:49 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-05-11 14:10:49 (GMT)
commiteaf46c79d5b1db06f1f1f7da17a37ec007af2d92 (patch)
tree63126e13d1524cac5259d02a5df281c6055075dd /plugins/arm/v7/core.c
parentb24aca86f0a096730fa8df440f7493556b39ae46 (diff)
Implemented a singleton system for ARMv7 registers.
Diffstat (limited to 'plugins/arm/v7/core.c')
-rw-r--r--plugins/arm/v7/core.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/arm/v7/core.c b/plugins/arm/v7/core.c
index a2ed090..4de61a2 100644
--- a/plugins/arm/v7/core.c
+++ b/plugins/arm/v7/core.c
@@ -25,7 +25,9 @@
#include <core/processors.h>
+#include "cregister.h"
#include "processor.h"
+#include "register.h"
@@ -66,5 +68,7 @@ bool init_armv7_core(void)
void exit_armv7_core(void)
{
+ clean_armv7_cregister_cache();
+ clean_armv7_register_cache();
}