X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=Kernel%2Finclude%2Fmodules.h;h=0c57675033f4fca99a69705df7d3a47f3e743b4b;hb=refs%2Ftags%2Frel0.07;hp=db3f91ad8a3a437326403b993507b0fd4813d3a0;hpb=efa38e0d56b1b620b6f4e5c4f91abc483a3065e2;p=tpg%2Facess2.git diff --git a/Kernel/include/modules.h b/Kernel/include/modules.h index db3f91ad..0c576750 100644 --- a/Kernel/include/modules.h +++ b/Kernel/include/modules.h @@ -53,7 +53,7 @@ * Contains the identifiers of the required modules. */ #define MODULE_DEFINE(_flags,_ver,_ident,_entry,_deinit,_deps...) \ - char *EXPAND_CONCAT(_DriverDeps_,_ident)[]={_deps};\ + const char *EXPAND_CONCAT(_DriverDeps_,_ident)[]={_deps};\ tModule __attribute__ ((section ("KMODULES"),unused))\ EXPAND_CONCAT(_DriverInfo_,_ident)=\ {MODULE_MAGIC,MODULE_ARCH_ID,_flags,_ver,NULL,EXPAND_STR(_ident),\ @@ -71,10 +71,10 @@ typedef struct sModule Uint8 Flags; //!< Module Flags Uint16 Version; //!< Module Version in Major.Minor 8.8 form struct sModule *Next; //!< Next module in list (not to be touched by the driver) - char *Name; //!< Module Name/Identifier + const char *Name; //!< Module Name/Identifier int (*Init)(char **Arguments); //!< Module initialiser / entrypoint void (*Deinit)(void); //!< Cleanup Function - char **Dependencies; //!< NULL terminated list of dependencies + const char **Dependencies; //!< NULL terminated list of dependencies } PACKED tModule; /**