summaryrefslogtreecommitdiff
path: root/src/arch/context-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-05-05 21:58:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-05-05 21:59:01 (GMT)
commita66f854ce4e19dc0f772fc55a3899643252afa3d (patch)
tree52e46f77acc199904a73e2260117a3a5198aeb86 /src/arch/context-int.h
parent07768223823d8c2b0071be8d8e6dfc5ccb891b17 (diff)
Inserted preloaded format information from instructions instead of symbols.
Diffstat (limited to 'src/arch/context-int.h')
-rw-r--r--src/arch/context-int.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/arch/context-int.h b/src/arch/context-int.h
index 4e188cc..3a5c7ee 100644
--- a/src/arch/context-int.h
+++ b/src/arch/context-int.h
@@ -31,6 +31,9 @@
#include <stdarg.h>
+#include "../format/preload-int.h"
+
+
/* Granularité des allocations */
#define DP_ALLOC_BLOCK 10
@@ -43,7 +46,7 @@ typedef void (* push_drop_point_fc) (GProcContext *, DisassPriorityLevel, virt_t
/* Définition d'un contexte pour processeur (instance) */
struct _GProcContext
{
- GObject parent; /* A laisser en premier */
+ GPreloadInfo parent; /* A laisser en premier */
virt_t *drop_points[DPL_COUNT]; /* Liste de points de départ */
size_t dp_allocated[DPL_COUNT]; /* Taille de liste allouée */
@@ -67,7 +70,7 @@ struct _GProcContext
/* Définition d'un contexte pour processeur (classe) */
struct _GProcContextClass
{
- GObjectClass parent; /* A laisser en premier */
+ GPreloadInfoClass parent; /* A laisser en premier */
push_drop_point_fc push_point; /* Inclusion de points de chute*/