https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8b2fd60829eeeb28fcafc0ef2511f7bed04ffd64

commit 8b2fd60829eeeb28fcafc0ef2511f7bed04ffd64
Author: Pierre Schweitzer <pie...@reactos.org>
AuthorDate: Mon Nov 6 19:58:49 2017 +0100

    [CDFS_NEW] Add a CMakeFile and a registry file. When using both, you get a 
driver that builds and works in ROS. Could install ROS with it! :-)
---
 drivers/filesystems/cdfs_new/CMakeLists.txt | 37 +++++++++++++++++++++++++++++
 drivers/filesystems/cdfs_new/cdfs_reg.inf   |  7 ++++++
 2 files changed, 44 insertions(+)

diff --git a/drivers/filesystems/cdfs_new/CMakeLists.txt 
b/drivers/filesystems/cdfs_new/CMakeLists.txt
new file mode 100644
index 0000000000..c0b56e99db
--- /dev/null
+++ b/drivers/filesystems/cdfs_new/CMakeLists.txt
@@ -0,0 +1,37 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/drivers)
+
+list(APPEND SOURCE
+    allocsup.c
+    cachesup.c
+    cddata.c
+    cdinit.c
+    cleanup.c
+    close.c
+    create.c
+    devctrl.c
+    deviosup.c
+    dirctrl.c
+    dirsup.c
+    fileinfo.c
+    filobsup.c
+    fsctrl.c
+    fspdisp.c
+    lockctrl.c
+    namesup.c
+    pathsup.c
+    pnp.c
+    prefxsup.c
+    read.c
+    resrcsup.c
+    strucsup.c
+    verfysup.c
+    volinfo.c
+    workque.c)
+
+add_library(cdfs SHARED ${SOURCE} cdfs.rc)
+set_module_type(cdfs kernelmodedriver)
+target_link_libraries(cdfs ${PSEH_LIB} memcmp)
+add_importlibs(cdfs ntoskrnl hal)
+add_cd_file(TARGET cdfs DESTINATION reactos/system32/drivers NO_CAB FOR all)
+add_registry_inf(cdfs_reg.inf)
diff --git a/drivers/filesystems/cdfs_new/cdfs_reg.inf 
b/drivers/filesystems/cdfs_new/cdfs_reg.inf
new file mode 100644
index 0000000000..9ae7413c61
--- /dev/null
+++ b/drivers/filesystems/cdfs_new/cdfs_reg.inf
@@ -0,0 +1,7 @@
+; Cdfs (ISO96660) filesystem driver
+[AddReg]
+HKLM,"SYSTEM\CurrentControlSet\Services\Cdfs","ErrorControl",0x00010001,0x00000000
+HKLM,"SYSTEM\CurrentControlSet\Services\Cdfs","Group",0x00000000,"File System"
+HKLM,"SYSTEM\CurrentControlSet\Services\Cdfs","ImagePath",0x00020000,"system32\drivers\cdfs.sys"
+HKLM,"SYSTEM\CurrentControlSet\Services\Cdfs","Start",0x00010001,0x00000003
+HKLM,"SYSTEM\CurrentControlSet\Services\Cdfs","Type",0x00010001,0x00000002

Reply via email to