This commit is contained in:
Edith Boles
2026-04-08 22:14:59 -07:00
commit cd07449a48
10 changed files with 966 additions and 0 deletions

17
hw1/section_d/hello.c Normal file
View File

@@ -0,0 +1,17 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/kernel.h>
static int __init hello_init(void) {
pr_info(KERN_INFO "Hello, Kernel");
return 0;
}
static void __exit hello_exit(void) {
pr_info(KERN_INFO "Goodbye, Kernel");
}
module_init(hello_init);
module_exit(hello_exit);
MODULE_AUTHOR("Edith Boles <edith@penguinowl.dev>");
MODULE_LICENSE("GPL");