Skip to content
Snippets Groups Projects
Commit 295cfa48 authored by Armin Luntzer's avatar Armin Luntzer
Browse files

update test module

parent 1a354b92
No related branches found
No related tags found
No related merge requests found
...@@ -8,13 +8,15 @@ ...@@ -8,13 +8,15 @@
void somefunction(void) void somefunction(void)
{ {
printf("this is some function\n"); printk("this is some function\n");
} }
void _module_exit(void)
{
printk("cleaning up\n");
}
void _module_init(void); int _module_init(void)
void _module_init(void)
{ {
int i; int i;
...@@ -25,4 +27,5 @@ void _module_init(void) ...@@ -25,4 +27,5 @@ void _module_init(void)
printk("allocating: %p\n", page_alloc()); printk("allocating: %p\n", page_alloc());
return 0;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment