summaryrefslogtreecommitdiff
path: root/plugins/arm/core.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-05-11 13:44:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-05-11 13:44:46 (GMT)
commitb24aca86f0a096730fa8df440f7493556b39ae46 (patch)
tree9489087f296eab281ac2d621f345866efb1e57f1 /plugins/arm/core.c
parentf208df5b7b960f1ec89247dda2b34b5d99959201 (diff)
Reorganized processor registrations.
Diffstat (limited to 'plugins/arm/core.c')
-rw-r--r--plugins/arm/core.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/arm/core.c b/plugins/arm/core.c
index a23a96e..43e82e4 100644
--- a/plugins/arm/core.c
+++ b/plugins/arm/core.c
@@ -24,13 +24,11 @@
#include "core.h"
-#include <core/processors.h>
#include <plugins/plugin-def.h>
#include "python/module.h"
#include "v7/core.h"
-#include "v7/processor.h"
@@ -55,8 +53,7 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin)
{
bool result; /* Bilan à retourner */
- result = register_processor_type("armv7", "ARM v7", G_TYPE_ARMV7_PROCESSOR,
- init_armv7_core, exit_armv7_core);
+ result = init_armv7_core();
if (result)
result = add_arch_arm_module_to_python_module();
@@ -79,5 +76,6 @@ G_MODULE_EXPORT bool chrysalide_plugin_init(GPluginModule *plugin)
G_MODULE_EXPORT void chrysalide_plugin_exit(GPluginModule *plugin)
{
+ exit_armv7_core();
}