X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fbinary.h;h=91a2e2240f7eeb56cb1695d525db5aa8fbda9ad8;hb=6e1cf1d50bca85f01b5f802b1a76f090e362bf05;hp=77ccdd74833ed59de46b960e849ee8e598524553;hpb=bf7d1cd5635d41bd7c58bf99c61cdc670291c543;p=tpg%2Facess2.git diff --git a/Kernel/include/binary.h b/Kernel/include/binary.h index 77ccdd74..91a2e224 100644 --- a/Kernel/include/binary.h +++ b/Kernel/include/binary.h @@ -65,12 +65,12 @@ typedef struct sBinary * \note Used to uniquely identify the loaded binary to reduce in-memory * duplication. */ - char *TruePath; + const char *TruePath; /** * \brief Interpreter used to load the file * \note This can be either requested by the individual file, or a per-driver option */ - char *Interpreter; + const char *Interpreter; /** * \brief Entrypoint of the binary (at requested base); */ @@ -118,7 +118,7 @@ typedef struct sBinaryType */ Uint32 Ident; Uint32 Mask; //!< Mask value for tBinaryType.Ident - char *Name; //!< Name of this executable type (for debug purpouses) + const char *Name; //!< Name of this executable type (for debug purpouses) /** * \brief Read a binary from a file * \param FD VFS File handle to file to load @@ -151,7 +151,7 @@ typedef struct sBinaryType * tBinaryType.Relocate at this time, so the driver should * accomodate this. */ - int (*GetSymbol)(void *Base, char *Name, Uint *Dest); + int (*GetSymbol)(void *Base, const char *Name, Uint *Dest); } tBinaryType; /**