reactos/drivers/filesystems/fastfat/CMakeLists.txt
Pierre Schweitzer c5a35ecd37 [FASTFAT] Introduce a KDBG extension.
This is a PoC of what it's possible to realize thanks to an
already existing hack in ntoskrnl :-).
With this extension, on the kdb:> prompt, you're able to type
in commands that will be handled by the FastFAT driver and not
by the kernel, allowing internal debug, not possible otherwise.

So far, three commands exist:
- ?fat.vols: lists all the mounted volumes by FastFAT
- ?fat.files: lists all the files on a specific volume (with their attributes)
- ?fat.setdbgfile: allows watching on specifics files lifetime

This is obviously only the begin and could be greatly improved.

For instance, this is what allowed to debug CORE-14557
2018-04-29 12:15:11 +02:00

33 lines
577 B
CMake

list(APPEND SOURCE
blockdev.c
cleanup.c
close.c
create.c
dir.c
direntry.c
dirwr.c
ea.c
fat.c
fastio.c
fcb.c
finfo.c
flush.c
fsctl.c
iface.c
kdbg.c
misc.c
pnp.c
rw.c
shutdown.c
string.c
volume.c
vfat.h)
add_library(fastfat SHARED ${SOURCE} vfatfs.rc)
set_module_type(fastfat kernelmodedriver)
target_link_libraries(fastfat ${PSEH_LIB})
add_importlibs(fastfat ntoskrnl hal)
add_pch(fastfat vfat.h SOURCE)
add_cd_file(TARGET fastfat DESTINATION reactos/system32/drivers NO_CAB FOR all)