mirror of
https://github.com/reactos/reactos.git
synced 2024-12-29 10:35:28 +00:00
[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! :-)
This commit is contained in:
parent
e4da7ecc50
commit
8b2fd60829
2 changed files with 44 additions and 0 deletions
37
drivers/filesystems/cdfs_new/CMakeLists.txt
Normal file
37
drivers/filesystems/cdfs_new/CMakeLists.txt
Normal file
|
@ -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)
|
7
drivers/filesystems/cdfs_new/cdfs_reg.inf
Normal file
7
drivers/filesystems/cdfs_new/cdfs_reg.inf
Normal file
|
@ -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
|
Loading…
Reference in a new issue