rename include to lkmc

This commit is contained in:
Ciro Santilli 六四事件 法轮功
2019-05-05 00:00:00 +00:00
parent 9c8f95d630
commit 1cc3ee8657
18 changed files with 56 additions and 35 deletions

View File

@@ -2608,7 +2608,7 @@ traps: ring0.out[55] general protection ip:40054c sp:7fffffffec20 error:0 in rin
Sources:
* link:kernel_modules/ring0.c[]
* link:include/ring0.h[]
* link:lkmc/ring0.h[]
* link:userland/ring0.c[]
In both cases, we attempt to run the exact same code which is shared on the `ring0.h` header file.
@@ -6425,7 +6425,7 @@ Outcome: the test passes:
Sources:
* link:kernel_modules/ioctl.c[]
* link:include/ioctl.h[]
* link:lkmc/ioctl.h[]
* link:userland/kernel_modules/ioctl.c[]
* link:rootfs_overlay/lkmc/ioctl.sh[]
@@ -6510,7 +6510,7 @@ Outcome: the test passes:
Sources:
* link:kernel_modules/anonymous_inode.c[]
* link:include/anonymous_inode.h[]
* link:lkmc/anonymous_inode.h[]
* link:userland/kernel_modules/anonymous_inode.c[]
* link:rootfs_overlay/lkmc/anonymous_inode.sh[]
@@ -6538,7 +6538,7 @@ Outcome: the test passes:
Sources:
* link:kernel_modules/netlink.c[]
* link:include/netlink.h[]
* link:lkmc/netlink.h[]
* link:userland/kernel_modules/netlink.c[]
* link:rootfs_overlay/lkmc/netlink.sh[]
@@ -13481,11 +13481,13 @@ git -C "$(./getvar buildroot_source_dir)" checkout -
=== Directory structure
==== include directory
==== lkmc directory
link:include/[] contains headers that are shared across both kernel modules and userland structures.
link:lkmc/[] contains sources and headers that are shared across kernel modules, userland and baremetal examples.
They contain data structs and magic constant for kernel to userland communication.
We chose this awkward name so that our includes will have an `lkmc/` prefix.
Another option would have been to name it as `includes/lkmc`, but that would make paths longer, and we might want to store source code in that directory as well in the future.
==== buildroot_packages directory