TODO: test module

This commit is contained in:
Zhengyi Chen 2024-01-20 23:30:38 +00:00
parent f9282a627f
commit 71b52acdb1
13 changed files with 453 additions and 192 deletions

9
shared/Makefile Normal file
View file

@ -0,0 +1,9 @@
obj-m += my_shmem.o
KDIR := /lib/modules/$(shell uname -r)/build
PWD := $(shell pwd)
all:
$(MAKE) -C $(KDIR) M=$(PWD) modules
clean:
$(MAKE) -C $(KDIR) M=$(PWD) clean