-
April 29th, 2002, 05:24 PM
#1
Loadable Kernel Modules
Well after a while of reading,reading and some more reading i thought id share how-to creat a Loadable Kernel Module.
Lets begin with creating a simple C program.
%vi hello.c
#include <linux/module.h>
#if defined(CONFIG_SMP)
#define __SMP__
#endif
#if defined (CONFIG_MODVERSIONS)
#define MODVERSIONS
#include <linux/modversions.h>
#endif
#include <linux/kernel.h>
int int_module (void)
{
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|