Added functions to move memory to and from user space.
[cascardo/kernel/old_slides/.git] / 01.hello / 01.hello.xml
index b6b2969..9eb0458 100644 (file)
@@ -15,6 +15,14 @@ Let's take a look at how linux modules work.
 </para>
 </foil>
 
+<foil>
+<title>Building Linux</title>
+<para>
+But, first, we will build Linux. The procedure is configuring, building and
+installing. Try <screen>make help</screen>.
+</para>
+</foil>
+
 <foil>
 <title>Requirements</title>
 <para>
@@ -60,6 +68,16 @@ priority. There are macros, like <emphasis>KERN\_ALERT</emphasis> and
 </para>
 </foil>
 
+<foil>
+<title>License and taint</title>
+<para>
+<emphasis>MODULE\_LICENSE</emphasis> is highly recommended. A free software
+license should be used, otherwise the kernel is tainted. This indicates to
+developers that something has gone wrong, and some bug reports are ignored some
+times.
+</para>
+</foil>
+
 <foil>
 <title>Building</title>
 <para>
@@ -112,4 +130,15 @@ MODULE\_ALIAS
 </itemizedlist>
 </foil>
 
+<foil>
+<title>Module parameters</title>
+<para>
+Besides <emphasis>MODULE\_PARM\_DESC</emphasis> to inform user about the
+parameter, we must use <emphasis>module\_param</emphasis>.
+</para>
+<screen>
+module_param(name, type, perm);
+</screen>
+</foil>
+
 </slides>