git.ucc.asn.au
/
tpg
/
acess2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Adding PE file support
[tpg/acess2.git]
/
Kernel
/
include
/
binary.h
diff --git
a/Kernel/include/binary.h
b/Kernel/include/binary.h
index
a126551
..
fe80f5b
100644
(file)
--- a/
Kernel/include/binary.h
+++ b/
Kernel/include/binary.h
@@
-21,6
+21,19
@@
typedef struct sBinaryPage
Uint16 Flags; //!< Load Flags
} __attribute__ ((packed)) tBinaryPage;
Uint16 Flags; //!< Load Flags
} __attribute__ ((packed)) tBinaryPage;
+/**
+ * \brief Flags for ::tBinaryPage.Flags
+ * \name Binary Page Flags
+ * \{
+ */
+//! \brief Read-only
+#define BIN_PAGEFLAG_RO 0x0001
+//! \brief Executable
+#define BIN_PAGEFLAG_EXEC 0x0002
+/**
+ * \}
+ */
+
/**
* \brief Defines a binary file
*
/**
* \brief Defines a binary file
*
@@
-144,4
+157,6
@@
typedef struct sBinaryType
*/
extern char *Binary_RegInterp(char *Path);
*/
extern char *Binary_RegInterp(char *Path);
+extern int Binary_RegisterType(tBinaryType *Type);
+
#endif
#endif
UCC
git Repository :: git.ucc.asn.au