X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=KernelLand%2FKernel%2Finclude%2Fmodules.h;h=cb436a605e6c371f0a42629111604367dfed13ff;hb=07ed0e7479fc741a947579d4460a25a050fc9260;hp=d72813369ea6f0804559ae13449466536dc087d7;hpb=48743e39650eb1ef988380e9d95f27fd40d3a9ce;p=tpg%2Facess2.git diff --git a/KernelLand/Kernel/include/modules.h b/KernelLand/Kernel/include/modules.h index d7281336..cb436a60 100644 --- a/KernelLand/Kernel/include/modules.h +++ b/KernelLand/Kernel/include/modules.h @@ -73,7 +73,7 @@ typedef struct sModule struct sModule *Next; //!< Next module in list (not to be touched by the driver) const char *Name; //!< Module Name/Identifier int (*Init)(char **Arguments); //!< Module initialiser / entrypoint - void (*Deinit)(void); //!< Cleanup Function + int (*Deinit)(void); //!< Cleanup Function const char **Dependencies; //!< NULL terminated list of dependencies } PACKED tModule; @@ -102,7 +102,7 @@ typedef struct sModuleLoader struct sModuleLoader *Next; //!< Kernel Only - Next loader in list char *Name; //!< Friendly name for the loader int (*Detector)(void *Base); //!< Simple detector function - int (*Loader)(void *Base); //!< Initialises the module + int (*Loader)(void *Base, const char *ArgumentString); //!< Initialises the module int (*Unloader)(void *Base); //!< Calls module's cleanup } PACKED tModuleLoader;