Line 1 was replaced by line 1 |
- !New Initialization Scheme for SICS |
+ !!New Initialization Scheme for SICS |
Lines 14-25 were replaced by line 14 |
- * when adding a new command |
- ** prototype declaration of the command function or include |
- statement |
- ** inserting the command to the AddPsiCommands function |
- ** if it is a startup command, inserting the command to |
- the RemovePsiCommands function |
- * when adding a new driver |
- ** prototype declaration of the driver creation function or |
- include statement |
- ** adding a "else if" clause to the CreatePsiXXX function |
- ** in the case of an environment driver, also add an "else if" |
- clause to the ConfigureController function. |
+ when adding a new command: |
At line 26 added 14 lines. |
+ * prototype declaration of the command function or include |
+ statement |
+ * inserting the command to the ''AddPsiCommands'' function |
+ * if it is a startup command, inserting the command to |
+ the ''RemovePsiCommands'' function |
+ |
+ when adding a new driver: |
+ |
+ * prototype declaration of the driver creation function or |
+ include statement |
+ * adding an "else if" clause to the ''CreatePsi''XXX function |
+ * in the case of an environment driver, also add an "else if" |
+ clause to the ''ConfigureController'' function. |
+ |
Line 29 was replaced by line 32 |
- In this function, you call AddCmd,AddIniCmd or AddCommand(SCinter.h) to |
+ In this function, you call ''AddCmd'', ''AddIniCmd'' or ''AddCommand''(SCinter.h) to |
Lines 31-33 were replaced by lines 34-36 |
- create a new driver, use either the MakeDriver function, if you want |
- to use the MakeObject command to create the driver, or the functions |
- MakeInitializer/GetInitializer, if you want to do use an other |
+ create a new driver, use either the ''MakeDriver'' function, if you want |
+ to use the ''MakeObject'' command to create the driver, or the functions |
+ ''MakeInitializer/GetInitializer'', if you want to do use an other |
Line 36 was replaced by line 39 |
- to the SiteInit (psi.c) or InitGeneral (ofac.c) function. |
+ to the ''SiteInit'' (psi.c) or ''InitGeneral'' (ofac.c) function. |
Line 38 was replaced by line 41 |
- ''Suggestion'' |
+ ''Suggestion by [Markus Zolliker]'' |
Line 40 was replaced by line 43 |
- At present, only the new stuff inserted by uses this scheme. I propose |
+ At present, only the new stuff I inserted uses this scheme. I propose |
Lines 45-47 were replaced by lines 48-50 |
- * remove InitIniCommands (moving first few lines InitObjectCommands) |
- and RemoveIniCommands. |
- * InitGeneral to a new file named initgen.c. |
+ * remove ''InitIniCommands'' (moving first few lines ''InitObjectCommands'') |
+ and ''RemoveIniCommands'' |
+ * move ''InitGeneral'' to a new file named ''inigen.c'' |
Line 49 was replaced by line 52 |
- calls to the InitGeneral function. |
+ calls to the ''InitGeneral'' function |
Lines 53-54 were replaced by lines 56-57 |
- * all stuff (except SiteInit) is moved to the corresponding modules, |
- using MakeInitializer/GetInitializer |
+ * all stuff (except ''SiteInit'') is moved to the corresponding modules, |
+ using ''MakeInitializer/GetInitializer'' |
Line 56 was replaced by line 59 |
- These modifications will not change the behaviour of SICS. |
+ These modifications will not change the behaviour of SICS. |