From: Thadeu Lima de Souza Cascardo Date: Sun, 6 Dec 2009 01:17:04 +0000 (-0200) Subject: Init and Exit functions. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fkernel%2Fold_slides%2F.git;a=commitdiff_plain;h=cccf804379e6d53b3fea722d3732e3ec704d0406 Init and Exit functions. --- diff --git a/01.hello/01.hello.xml b/01.hello/01.hello.xml index aa0e3dc..7306db5 100644 --- a/01.hello/01.hello.xml +++ b/01.hello/01.hello.xml @@ -44,6 +44,22 @@ $ make -C /lib/modules/`uname -r`/build M=$PWD modules + +Init and Exit Functions + +We use module_init and module_exit to +declare our init and exit functions. + + + + +Init and Exit Functions + +The __init and __exit marks allow the +kernel to remove them when they are not needed, reducing memory consumption. + + + Module Tools