Mercurial > archived > louis > epitech > mq > rathaxes
diff rathaxes_add_a_linux_lkm.patch @ 10:44a25ffd5c8c
Reorganize the patch queue a bit: put the cmake patch first then the LKM patch then the PCI part
author | Louis Opter <louis@lse.epitech.net> |
---|---|
date | Fri, 06 Jan 2012 13:43:06 +0100 |
parents | 2389c2bc501f |
children |
line wrap: on
line diff
--- a/rathaxes_add_a_linux_lkm.patch Fri Jan 06 12:55:07 2012 +0100 +++ b/rathaxes_add_a_linux_lkm.patch Fri Jan 06 13:43:06 2012 +0100 @@ -1,13 +1,14 @@ # HG changeset patch -# Parent f5d32f3858ef49412b7113149a74901e8fb91fea +# Parent 9006ed3c5074b918e2f824b0053b494e2a82dbb8 rathaxes: add a kernel module sample (for now Linux only) diff --git a/rathaxes/samples/CMakeLists.txt b/rathaxes/samples/CMakeLists.txt --- a/rathaxes/samples/CMakeLists.txt +++ b/rathaxes/samples/CMakeLists.txt -@@ -1,1 +1,2 @@ +@@ -1,2 +1,3 @@ ADD_SUBDIRECTORY(helloworld) +ADD_SUBDIRECTORY(lkm) + ADD_SUBDIRECTORY(syntax) diff --git a/rathaxes/samples/lkm/CMakeLists.txt b/rathaxes/samples/lkm/CMakeLists.txt new file mode 100644 --- /dev/null @@ -98,7 +99,7 @@ new file mode 100644 --- /dev/null +++ b/rathaxes/samples/lkm/lkm.rtx -@@ -0,0 +1,18 @@ +@@ -0,0 +1,19 @@ +device LKM use LKM, Log +{ + LKM::init() @@ -108,6 +109,7 @@ + + LKM::exit() + { ++ Log::info("Good bye this was LKM"); + } +} +