X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fbinary.h;h=fe80f5b0c60b6e559e846c217d5842afe352fce3;hb=d95ad83dd0bfb3a8f6919f93ce5ead77a5905421;hp=a12655157b755df787e8262e93ba87fc9b0c9294;hpb=975f0f89b7a643abd7cc463d788dad34ac014b65;p=tpg%2Facess2.git diff --git a/Kernel/include/binary.h b/Kernel/include/binary.h index a1265515..fe80f5b0 100644 --- a/Kernel/include/binary.h +++ b/Kernel/include/binary.h @@ -21,6 +21,19 @@ typedef struct sBinaryPage 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 * @@ -144,4 +157,6 @@ typedef struct sBinaryType */ extern char *Binary_RegInterp(char *Path); +extern int Binary_RegisterType(tBinaryType *Type); + #endif