summaryrefslogtreecommitdiff
path: root/src/arch/archbase.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-08-30 10:55:45 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-08-30 10:55:45 (GMT)
commitac447bc36e65b91f97434cf2613ccb1e768267e0 (patch)
tree471f3b49629269d7ea44a6ea8b9177fe7e437817 /src/arch/archbase.h
parent184249f07fb32fb2449723f5f94ce221015231b7 (diff)
Rendered using the GTK buffer (crappy version).
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@107 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/archbase.h')
-rw-r--r--src/arch/archbase.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/arch/archbase.h b/src/arch/archbase.h
index 2a0c80e..330e194 100644
--- a/src/arch/archbase.h
+++ b/src/arch/archbase.h
@@ -26,6 +26,7 @@
#include <stdint.h>
+#include <sys/types.h>
@@ -36,6 +37,9 @@ typedef uint8_t bin_t;
typedef uint64_t vmpa_t;
+#define VMPA_MAX_SIZE 19
+
+
/* Taille des données intégrées */
typedef enum _MemoryDataSize
{
@@ -72,4 +76,8 @@ typedef enum _AsmSyntax
+/* Transforme une adresse en chaîne de caractères. */
+size_t vmpa_to_string(vmpa_t, MemoryDataSize, char [VMPA_MAX_SIZE]);
+
+
#endif /* _ARCH_ARCHBASE_H */