From ca05044548d5c1de87c030d625a305731a6cc665 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 14 Mar 2010 11:36:03 +0800 Subject: [PATCH] Commenting for new function --- Kernel/modules.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Kernel/modules.c b/Kernel/modules.c index 389663af..5b5a906a 100644 --- a/Kernel/modules.c +++ b/Kernel/modules.c @@ -32,6 +32,15 @@ tModuleLoader *gModule_Loaders = NULL; tModule *gLoadingModules = NULL; // === CODE === +/** + * \brief Initialises a module + * \param Module Pointer to the module header + * \return Zero on success, eModuleErrors or -1 on error + * \retval -1 Returned if a dependency fails, or a circular dependency + * exists. + * \retval 0 Returned on success + * \retval >0 Error code form the module's initialisation function + */ int Module_int_Initialise(tModule *Module) { int i, j; @@ -134,6 +143,9 @@ int Module_int_Initialise(tModule *Module) LEAVE_RET('i', 0); } +/** + * \brief Initialises builtin modules + */ int Modules_LoadBuiltins() { int i; -- 2.20.1