M3-IPC Code
M3-IPC: A Communication Tool for Distributed Virtualization
Brought to you by:
oajara,
ppessolani
File | Date | Author | Commit |
---|---|---|---|
kernel | 2015-04-24 |
![]() |
[5b476b] Middle path to something |
.gitignore | 2015-02-01 |
![]() |
[dbb478] Some cleanup |
Makefile | 2015-01-25 |
![]() |
[1a014a] Initial Commit |
Module.symvers | 2015-01-25 |
![]() |
[1a014a] Initial Commit |
README | 2015-02-14 |
![]() |
[52f4a6] All routines migrated. |
modules.order | 2015-01-25 |
![]() |
[1a014a] Initial Commit |
mol_replace.c | 2015-04-24 |
![]() |
[5b476b] Middle path to something |
To migrate a new syscall to the module follow these steps: *) A routine originally named mol_foo_bar(void) will be replaced by a replacement routine called mm_mol_foo_bar(void). 1) Add the replacement routine prototype in section "FUNCTION PROTOTYPES". asmlinkage long mm_mol_foo_bar(void); 2) Add the replacement routine code in section "SYSCALL REPLACEMENTS". asmlinkage long mm_mol_foo_bar(void) { /* same code as mol_foo_bar() */ } 3) Add the function pointer to the mm_mol_foo_bar() to the mm_mol_routines[] array. 4) Add the name as string of the mol_foo_bar() routine to the mol_sys_routine_names[] array. 5) Increment by one the MOL_ROUTINES_NR constant. 6) If the routine depends on auxiliary routines, include it in the "AUXILIARY ROUTINES" section. OTHER INFO: https://docs.google.com/document/d/1IPp6lS-AF6wlezkxOJx7tbmxf4ne4ilE75z0HiOFrnE/edit?usp=sharing