diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2018-05-11 14:10:49 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2018-05-11 14:10:49 (GMT) |
commit | eaf46c79d5b1db06f1f1f7da17a37ec007af2d92 (patch) | |
tree | 63126e13d1524cac5259d02a5df281c6055075dd /plugins/arm/v7/register.h | |
parent | b24aca86f0a096730fa8df440f7493556b39ae46 (diff) |
Implemented a singleton system for ARMv7 registers.
Diffstat (limited to 'plugins/arm/v7/register.h')
-rw-r--r-- | plugins/arm/v7/register.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/arm/v7/register.h b/plugins/arm/v7/register.h index a5b11c1..7596bac 100644 --- a/plugins/arm/v7/register.h +++ b/plugins/arm/v7/register.h @@ -26,11 +26,13 @@ #include <glib-object.h> -#include <stdbool.h> #include <stdint.h> +/* ------------------------- GESTION UNITAIRE DES REGISTRES ------------------------- */ + + #define G_TYPE_ARMV7_REGISTER g_armv7_register_get_type() #define G_ARMV7_REGISTER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_armv7_register_get_type(), GArmV7Register)) #define G_IS_ARMV7_REGISTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_armv7_register_get_type())) @@ -54,4 +56,12 @@ GArmV7Register *g_armv7_register_new(uint8_t); +/* ------------------------ GESTION SOUS FORME DE SINGLETONS ------------------------ */ + + +/* Vide totalement le cache des registres ARMv7. */ +void clean_armv7_register_cache(void); + + + #endif /* _PLUGINS_ARM_V7_REGISTER_H */ |