David Quintana
bc2378a356
[CDFS_NEW] Use CdAcquireForCreateSection from the old driver in place of the newer CdFilterCallbackAcquireForCreateSection.
2017-11-25 13:36:47 +01:00
David Quintana
5429771b99
[CDFS_NEW] Re-apply many of the reactos-specific changes and fix build.
...
- Also, get rid of the old diff file.
2017-11-25 13:36:47 +01:00
David Quintana
fd34548263
[CDFS_NEW] Replace old driver with a Ms-PL licensed version straight out of the driver samples github repository.
2017-11-25 13:36:47 +01:00
Pierre Schweitzer
3013e153b0
[FASTFAT_NEW] Fix build with FASTFATDBG set
2017-11-24 12:00:10 +01:00
Pierre Schweitzer
0daa5547d9
[FASTFAT_NEW] Import again FastFAT from MS. This time from GitHub for license reasons.
...
This implies that a sample for W10.
It has been backported to NT5.2; not sure how it would work on a W2K3 (feel free to test!)
2017-11-23 23:27:51 +01:00
Vadim Galyant
73bfc3c897
[USBPORT] Type-safe function signature (PVOID -> PUSBPORT_xxx).
2017-11-23 16:34:24 +01:00
Pierre Schweitzer
a913501626
[FASTFAT_NEW] This is not permitted by WDK license.
...
We should rather import from MS GitHub and backport to NT5.2.
2017-11-23 15:04:05 +01:00
Pierre Schweitzer
f15769d958
[FASTFAT_NEW] Fix build with FASTFATDBG set
2017-11-23 14:18:50 +01:00
Amine Khaldi
09c06a2f45
[CLANG-CL] Initial commit that allows us to compile ReactOS with clang-cl.
2017-11-23 14:09:57 +01:00
Pierre Schweitzer
aeadcaf515
[FASTFAT] Import the MS FastFAT sample from WXP.
...
Modified it so that it builds in trunk (with GCC, though).
Not to be switched for now, as it doesn't work in ReactOS (yet?).
2017-11-23 12:35:51 +01:00
Thomas Faber
ed95fa19f0
[PCIIDEX] Properly handle unknown PNP IRPs. CORE-13944
2017-11-21 23:08:21 +01:00
Pierre Schweitzer
8503842309
[FASTFAT] More FS statistics
2017-11-21 22:18:11 +01:00
Ged Murphy
dfb776380d
[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
2017-11-21 16:36:29 +00:00
Pierre Schweitzer
4b34e44782
[FLOPPY] Don't wait forever while trying to determine media type.
...
This should fix some virtual machines and real hardware machine with empty floopy drive
not being able to boot ReactOS (stuck while initializing floppy.sys).
This fixes a regression introduced in r70746.
It could be generalized to other interrupts, floppy controllers not being reliable.
For more information: http://wiki.osdev.org/Floppy_Disk_Controller
CORE-7935
CORE-12908
CORE-13080
2017-11-21 10:22:50 +01:00
Amine Khaldi
b3172ae098
[EXT2FS] For some reason we get error: conflicting types for 'do_split' when compiling with clang-cl so work around this with FIXMEs. CORE-11799 ( #94 )
2017-11-19 15:42:03 +01:00
Amine Khaldi
06b0cc74c5
[REISERFS] Do not take this code path when compiling with clang. CORE-11799 ( #94 )
2017-11-19 15:24:49 +01:00
Pierre Schweitzer
ec6b3ecbe4
[CDFS] Attempt to a switch to the MS CDFS driver.
...
To be reverted if it brings in too many regressions, even though I tried to do my best to address them.
Leaving the old driver in place, for now; if no regressions are reported regarding CDFS in 0.4.8, then old driver could be dropped for 0.4.9.
2017-11-18 18:32:36 +01:00
Pierre Schweitzer
f723d230a0
[CDFS_NEW] _SEH2_FINALLY implement SEH support for real instead of its current stub.
...
This notably fixes BSOD on media change
2017-11-17 22:20:13 +01:00
Pierre Schweitzer
faee3753ea
[CDFS_NEW] Now NtWriteFile is fixed, revert 5f25582
, ie remove FastIO hack from the driver
...
CORE-14003
2017-11-12 22:39:40 +01:00
Pierre Schweitzer
5f255827d3
[CDFS_NEW] Following 1bef487
, add a hack and stub FastIO write routine to avoid bugchecks on write attempts.
...
This allows booting the ReactOS LiveCD as HDD image in Qemu without issues :-)
2017-11-12 21:16:31 +01:00
Pierre Schweitzer
cbf0430b56
[CDFS_NEW] Bugfix for f88fe43
: don't delete devices twice on shutdown.
...
With that bugfix, I can install ROS from ISO on HDD without troubles :-)
CORE-13184
2017-11-12 18:58:43 +01:00
Pierre Schweitzer
6c73385625
[CDFS_NEW]
...
Restore the ability to restore installing from disk image.
CORE-13184
2017-11-12 18:39:40 +01:00
Pierre Schweitzer
a1d7e9936d
[EXT2] Upgrade to 0.69
...
CORE-13980
2017-11-12 10:48:17 +01:00
Pierre Schweitzer
94298313c0
[CDFS_NEW] Fix diff
2017-11-07 07:54:50 +01:00
Pierre Schweitzer
e88eeb21af
[NTOSKRNL] Make the CcWaitForCurrentLazyWriterActivity() stub return success instead of hacking FSDs.
...
Suggested by Thomas
2017-11-06 21:45:55 +01:00
Pierre Schweitzer
03d5be6437
[CDFS_NEW] Add a hack that allows locking a volume and thus, unmounting it. All that work, just to be able to do this...
2017-11-06 20:09:23 +01:00
Pierre Schweitzer
fa1c60db50
[CDFS_NEW] You know... RBuild has been gone for ages!
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
8b2fd60829
[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! :-)
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
e4da7ecc50
[CDFS_NEW] Remove a broken change (lol?!) that prevented the driver to properly work in ROS... Dropping SEH doesn't mean dropping code!
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
7b19676e2b
[CDFS_NEW] Force calling convention to allow build
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
3d4b8783fd
[CDFS_NEW] Force calling convention to allow build
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
818025ecc8
[CDFS_NEW] Remove a no longer required build hack
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
2639dd6736
[CDFS_NEW] Remove a no longer required build hack
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
755bdb5d0b
[CDFS_NEW] Remove a no longer required build hack
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
3cbcb1bade
[CDFS_NEW] Fix headers inclusion so that it can work on a *nix platform
2017-11-06 20:02:16 +01:00
Pierre Schweitzer
f65b294f21
[CDFS] Set the FO_CLEANUP_COMPLETE on cleanup
2017-11-05 13:57:41 +01:00
Pierre Schweitzer
244b4f99b3
[CDFS] Don't allow FS opening when volume is locked
2017-11-05 13:57:41 +01:00
Pierre Schweitzer
a2ed758a20
[CDFS] Addendum to 03a9d8c
: check for volume state (locked?) before opening a file
...
CORE-13957
2017-11-04 21:31:35 +01:00
Pierre Schweitzer
03a9d8c7ca
[CDFS] Implement volume un/locking.
...
CORE-13957
2017-11-04 21:29:51 +01:00
Pierre Schweitzer
b30670ba43
[CDFS] Don't use uninit var. Fixes MSVC build (good boy :-))
2017-11-04 21:23:11 +01:00
Pierre Schweitzer
95447d2fd1
[CDFS] Implement open handle count
2017-11-04 21:14:50 +01:00
Pierre Schweitzer
fa0327d6c5
[CDFS] Remove the VPB field from the VCB. Not only it was never set, but the only times it was used was broken!
2017-11-04 19:46:52 +01:00
Amine Khaldi
56cc2ca115
[SERIAL] Fix Serial{Get,Clear}PerfStats() to become proper PKSYNCHRONIZE_ROUTINE routines and get rid of the related casts. Brought to you by Thomas Faber. CORE-11799 ( #94 )
2017-10-31 15:44:39 +01:00
Eric Kohl
58bb4b31bc
[STORPORT] Check status code of the call to PortFdoConnectInterrupt().
...
CORE-13866
2017-10-31 14:11:36 +01:00
Amine Khaldi
433d20f16e
[ACPICA] Take the gcc code path for host configuration when compiling with clang. CORE-11799 ( #94 )
2017-10-30 22:45:42 +01:00
Amine Khaldi
cfe0f7f714
[NMIDEBUG] Do not take the msvc codepath in NmiClearFlag(). CORE-11799 ( #94 )
2017-10-30 21:54:54 +01:00
Serge Gautherie
abb6ad90f5
[MOUNTMGR][NTOSKRNL] ZwWriteFile() calls: Use explicit NULL instead of ambiguous 0. CORE-13910
2017-10-29 10:04:40 +01:00
Amine Khaldi
5bf1fbec49
[UDFS] Do not take some of the msvc codepaths when compiling with clang-cl due to issues such as inline assembly support. CORE-11799 ( #94 )
2017-10-28 13:52:44 +01:00
Eric Kohl
5cfc1e3152
[STORPORT] Get the interrupt from the resource list, connect it and call the miniports HwInterrupt routine.
...
CORE-13866
2017-10-23 23:21:58 +02:00
Serge Gautherie
deb9c5416f
CORE-13048. [I8042PRT] keyboard.c: Restore 1 "Irql =" (which was lost in r30000). ( #63 )
...
[I8042PRT] Restore 1 "Irql =" (which was lost in r30000). CORE-13048
2017-10-23 21:18:27 +02:00