mirror of
https://github.com/autistic-symposium/master-algorithms-py.git
synced 2025-07-29 17:48:47 -04:00
clean up
This commit is contained in:
parent
1ef64d6e17
commit
e0eb554dfd
279 changed files with 24267 additions and 0 deletions
|
@ -0,0 +1,8 @@
|
|||
KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
|
||||
obj-m += task-01.o
|
||||
|
||||
all:
|
||||
make -C $(KERNEL_SRC) M=$(PWD) modules
|
||||
|
||||
clean:
|
||||
make -C $(KERNEL_SRC) M=$(PWD) clean
|
|
@ -0,0 +1,15 @@
|
|||
#include <linux/module.h>
|
||||
#include <linux/kernel.h>
|
||||
#include <linux/init.h>
|
||||
|
||||
static int __init setup(void) {
|
||||
printk(KERN_DEBUG "Hello World!");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static void __exit teardown(void) {
|
||||
}
|
||||
|
||||
module_init(setup);
|
||||
module_exit(teardown);
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,6 @@
|
|||
Steps
|
||||
=====
|
||||
|
||||
- `make`
|
||||
- `make modules_install`
|
||||
- `make install`
|
File diff suppressed because it is too large
Load diff
|
@ -0,0 +1,4 @@
|
|||
Steps
|
||||
=====
|
||||
|
||||
- `git format-patch -o /tmp/ HEAD~`
|
Loading…
Add table
Add a link
Reference in a new issue