[FLTMGR] Latest from my branch (#135)
authorGed Murphy <gedmurphy@reactos.org>
Tue, 21 Nov 2017 16:36:29 +0000 (16:36 +0000)
committerGitHub <noreply@github.com>
Tue, 21 Nov 2017 16:36:29 +0000 (16:36 +0000)
commitdfb776380d4ca289a30b999791040d80bd38e0ae
treef9ee4ee80ade2cc8b3ad53c48ef75db12f972c8f
parentf884d29c90db2e62ef7f16f908587514ba450357
[FLTMGR] Latest from my branch (#135)

[FLTMGR][KMTEST]
Squash and push my local branch across to master as the patch is getting a bit large. This is still WIP and none of this code is run in ros yet, so don't fret if you see ugly/unfinished code or int3's dotted around.

[FLTMGR] Improve loading/reg of filters and start to implement client connections
- Implement handling of connections from clients
- Implement closing of client ports
- Add a basic message waiter queue using CSQ's (untested)
- Hand off messages for the comms object to be handled by the comms file
- Initialize the connection list
- Add a registry file which will contain lib functions for accessing filter service entries

- [KMTEST] Initial usermode support for testing FS mini-filters
- Add base routines to wrap the win32 'Filter' APis
- Add support routines to be used when testing FS filter drivers
- Move KmtCreateService to a private routine so it can be shared with KmtFltCreateService
- Completely untested at the mo, so likely contains bugs at this point
- Add support for adding altitude and flags registry entries for minifilters
- Allow minifilters to setup without requiring instance attach/detach callbacks
- Add tests for FltRegisterFilter and FltUnregisterFilter and start to add associated tests
24 files changed:
drivers/filters/fltmgr/CMakeLists.txt
drivers/filters/fltmgr/Filter.c
drivers/filters/fltmgr/Interface.c
drivers/filters/fltmgr/Messaging.c
drivers/filters/fltmgr/Misc.c
drivers/filters/fltmgr/Registry.c [new file with mode: 0644]
drivers/filters/fltmgr/Registry.h [new file with mode: 0644]
drivers/filters/fltmgr/fltmgr.h
drivers/filters/fltmgr/fltmgrint.h
modules/rostests/kmtests/CMakeLists.txt
modules/rostests/kmtests/fltmgr/CMakeLists.txt
modules/rostests/kmtests/fltmgr/fltmgr_load/CMakeLists.txt
modules/rostests/kmtests/fltmgr/fltmgr_load/fltmgr_load.c
modules/rostests/kmtests/fltmgr/fltmgr_load/fltmgr_user.c [new file with mode: 0644]
modules/rostests/kmtests/fltmgr/fltmgr_register/CMakeLists.txt [new file with mode: 0644]
modules/rostests/kmtests/fltmgr/fltmgr_register/fltmgr_reg_user.c [new file with mode: 0644]
modules/rostests/kmtests/fltmgr/fltmgr_register/fltmgr_register.c [new file with mode: 0644]
modules/rostests/kmtests/include/kmt_platform.h
modules/rostests/kmtests/include/kmt_test.h
modules/rostests/kmtests/kmtest/filter.c
modules/rostests/kmtests/kmtest/fltsupport.c
modules/rostests/kmtests/kmtest/kmtest.h
modules/rostests/kmtests/kmtest/testlist.c
modules/rostests/kmtests/kmtest_drv/kmtest_fsminifilter.c