Commit graph

5905 commits

Author SHA1 Message Date
Amine Khaldi 07d842f6c6 [UDFS] Fix all GCC warnings! By V. with one little change by me to keep MSVC build working :)
svn path=/trunk/; revision=68087
2015-06-09 10:40:26 +00:00
Eric Kohl 5e2fe69e38 [UDFS]
Remove license, evaluation and demo features. They makes no sense in an open source driver.

svn path=/trunk/; revision=68081
2015-06-08 19:54:46 +00:00
Amine Khaldi 0f20f1f0b7 [UDFS] Add a PCH.
svn path=/trunk/; revision=68076
2015-06-08 14:27:09 +00:00
Amine Khaldi c5c93fc98b [UDFS] Explicitly mention the license (GPLv2).
svn path=/trunk/; revision=68075
2015-06-08 14:24:47 +00:00
Eric Kohl 071eb9ad40 [DISK]
Revert accidential changes.

svn path=/trunk/; revision=68062
2015-06-07 13:44:49 +00:00
Eric Kohl 62aa5d355b [DISK]
Get rid of explicit status definition. Import ntiologc.h instead.

svn path=/trunk/; revision=68059
2015-06-07 11:46:34 +00:00
Amine Khaldi a38569842b [UDFS] Remove some unneeded headers, we have our own. CORE-9774
svn path=/trunk/; revision=68046
2015-06-06 15:23:00 +00:00
Amine Khaldi 390609a4f4 [UDFS] Enable the GCC build now. CORE-9774
svn path=/trunk/; revision=68041
2015-06-06 14:05:59 +00:00
Amine Khaldi 889b50cfdf [UDFS] Fix includes. CORE-9774
svn path=/trunk/; revision=68040
2015-06-06 13:48:19 +00:00
Amine Khaldi 24a6ef1789 [UDFS] Fix an include. CORE-9774
svn path=/trunk/; revision=68038
2015-06-06 13:07:21 +00:00
Amine Khaldi 9a67ed6926 [UDFS] Svn add some missing files. CORE-9774
svn path=/trunk/; revision=68037
2015-06-06 12:57:53 +00:00
Amine Khaldi 7504b2b969 [UDFS] Import a UDF File System Driver created by Alexander Telyatnikov (Alter) and co. Many thanks to Alexander Rechitskiy (jeditobe), the negotiator for opening the source of the whole software package (DVD Write Now) under the GPLv2 license and to the authors for kindly accepting to do so. I introduced many changes to the original code (made it use our PSEH3 for SEH, got it to compile from within ReactOS in both MSVC and Windows GCC builds...etc) and it's still WIP. We'll hopefully have an excellent collaboration to improve it and maintain its sync.. Stay tuned ;) CORE-9774
svn path=/trunk/; revision=68036
2015-06-06 12:52:13 +00:00
Eric Kohl 132e058f65 [CDFS]
Initialize an uninitialized variable.

svn path=/trunk/; revision=68000
2015-06-02 13:14:33 +00:00
Eric Kohl 9e959dc0a3 [CDFS]
Add IRP_MJ_QUERY_VOLUME_INFORMATION.FileFsFullSizeInformation to CDFS too.

svn path=/trunk/; revision=67999
2015-06-02 12:37:37 +00:00
Eric Kohl ec3eb2d675 [FASTFAT]
Add IRP_MJ_QUERY_VOLUME_INFORMATION.FileFsFullSizeInformation. This fixes a number of ntdll winetests.

svn path=/trunk/; revision=67998
2015-06-02 09:08:33 +00:00
Eric Kohl 102fea8ac8 [CDFS]
Finally queue IRP_MJ_CREATE IRPs too.

svn path=/trunk/; revision=67997
2015-06-01 19:22:42 +00:00
Eric Kohl 51086174d5 [CDFS]
Queue IRP_MJ_READ, IRP_MJ_WRITE, IRP_MJ_CLOSE and IRP_MJ_CLEANUP IRPs.

svn path=/trunk/; revision=67994
2015-06-01 17:15:11 +00:00
Eric Kohl 378407a5c8 [CDFS]
Queue IRP_MJ_DIRECTORY_CONTROL IRPs.

svn path=/trunk/; revision=67991
2015-06-01 15:04:50 +00:00
Eric Kohl ef692c9c85 [CDFS]
Fix indentation and coding style. No code changes!

svn path=/trunk/; revision=67990
2015-06-01 15:00:51 +00:00
Eric Kohl d284e715f4 [CDFS]
Do not complete an IRP that will be passed down to a lower driver.

svn path=/trunk/; revision=67989
2015-06-01 14:26:58 +00:00
Eric Kohl 2ae749ea34 [CDFS]
- Move the fastio code to a separate file.
- Add Pierres IRP-Queue code and use it for IRP_MJ_QUERY_VOLUME_INFORMATION, IRP_MJ_SET_VOLUME_INFORMATION, IRP_MJ_QUERY_INFORMATION, IRP_MJ_SET_INFORMATION, IRP_MJ_DEVICE_CONTROL and IRP_MJ_FILE_SYSTEM_CONTROL requests.

svn path=/trunk/; revision=67988
2015-06-01 13:13:18 +00:00
Pierre Schweitzer 4512ae4da4 [NTFS]
So faar our driver is read-only

svn path=/trunk/; revision=67984
2015-05-31 21:31:14 +00:00
Pierre Schweitzer 4a632280f0 [NTFS]
Directly implement NtfsOpenFileById() for special files from the MFT where we cannot moonwalk there path.
It concerns any file with ID < 0x10.
This function can only cope with file which ID is < 0xc. Windows Internals reports that 0xc - 0xf entries are unused.

It would be interesting to double check returrned status in case of error, and also what Windows returns when attempting weird opening of suchs entries (overwrite, create for unused, etc).

svn path=/trunk/; revision=67983
2015-05-31 21:28:52 +00:00
Johannes Anderwald 1412b0426b [SNDVOL32]
- revert 67251 as it breaks the dynamic user interface
[KS]
- fix bugs to return pin / topology node names

svn path=/trunk/; revision=67952
2015-05-29 15:01:34 +00:00
Amine Khaldi 58999a1bfd [TCPIP] The driver does both v4 and v6. CORE-9744
svn path=/trunk/; revision=67946
2015-05-29 08:56:05 +00:00
Amine Khaldi 945f960a7d [TCPIP] Identify TCP/IP driver as version 4. By Lee Schroeder. CORE-9744
svn path=/trunk/; revision=67940
2015-05-28 10:31:38 +00:00
Eric Kohl f4494b1b46 [PARPORT]
- Add FdoQueryBusRelations to enumerate the 'attached' raw port.
- Create the PDO for the raw port (\Device\ParallelX) and let the symbolic link (\DosDevices\LPTX) point to it.
- Move the open, close and write code from the FDO to the PDO.

svn path=/trunk/; revision=67936
2015-05-27 20:18:10 +00:00
Daniel Reimer dc318d55ce [TRANSLATION]
work on Romanian related strings in drivers inf by Stefan Fulea
CORE-9572 #resolve #comment Committed, thx ^^

svn path=/trunk/; revision=67929
2015-05-26 18:05:52 +00:00
Pierre Schweitzer 488b5f9d64 [NTFS]
- Don't attempt to moon walk path name for reserved MFT entries.
- Don't attempt to dereference file name if it doesn't exist

svn path=/trunk/; revision=67918
2015-05-26 07:10:45 +00:00
Pierre Schweitzer 3e2082bafa [FASTFAT]
[NTFS]
Addendum to r67911

svn path=/trunk/; revision=67914
2015-05-25 17:54:27 +00:00
Pierre Schweitzer 23eb05714f [NTFS]
Call NtfsGetUserBuffer() when required, don't reimplement the wheel everytime

svn path=/trunk/; revision=67913
2015-05-25 17:45:04 +00:00
Pierre Schweitzer 3deb2b256e [NTFS]
Fix MmGetSystemAddressForMdlSafe() call, as it was done in r67808

svn path=/trunk/; revision=67912
2015-05-25 17:43:04 +00:00
Pierre Schweitzer 37a429b0be [FASTFAT]
[NTFS]
Remove useless cast and use appropriate macro.
Spotted by Thomas

svn path=/trunk/; revision=67911
2015-05-25 17:30:01 +00:00
Pierre Schweitzer 94d99f3fe3 [NTFS]
Acquire FCB resource (shared) before trying to attempt its data

svn path=/trunk/; revision=67910
2015-05-25 17:06:00 +00:00
Pierre Schweitzer c28fc5a816 [NTFS]
If IRP can't wait, queue it

svn path=/trunk/; revision=67909
2015-05-25 16:52:15 +00:00
Pierre Schweitzer 8034fab3df [NTFS]
Implement NtfsMarkIrpContextForQueue() which allows marking an IRP to queue it

svn path=/trunk/; revision=67908
2015-05-25 16:52:02 +00:00
Pierre Schweitzer 8f4f1ce119 [NTFS]
Handle IRP_MJ_FILE_SYSTEM_CONTROL with the dispatch routine

svn path=/trunk/; revision=67905
2015-05-25 12:55:51 +00:00
Pierre Schweitzer 4eabc351c6 [NTFS]
Handle IRP_MJ_CREATTE with the dispatch routine

svn path=/trunk/; revision=67903
2015-05-25 11:58:23 +00:00
Pierre Schweitzer 1dd645fcbd [NTFS]
Handle IRP_MJ_CLOSE with the dispatch routine

svn path=/trunk/; revision=67892
2015-05-24 21:29:34 +00:00
Pierre Schweitzer 4c9b6600ea [NTFS]
Use non-paged lookaside list for IRP context allocation

svn path=/trunk/; revision=67883
2015-05-24 15:26:15 +00:00
Pierre Schweitzer 63560ef203 [FASTFAT]
- Add a debugging assert that will save your lot of time if you attempt to manually queue a wrong IRP. You cannot queue an IRP which is set to be later queued again. This is a broken behavior.
- Remove a bit of code duplication

svn path=/trunk/; revision=67880
2015-05-24 12:39:10 +00:00
Pierre Schweitzer d4a0828949 [NTFS]
Implement request qeueing (based on FastFAT work)

svn path=/trunk/; revision=67878
2015-05-24 12:28:51 +00:00
Pierre Schweitzer d71894a0ad [NTFS]
- Only free the IRP context in case the request is not to be queued
- Stubplement request queueing support in NtfsDispatch()

svn path=/trunk/; revision=67877
2015-05-24 12:20:51 +00:00
Pierre Schweitzer 6277edf7d8 [NTFS]
Handle IRP_MJ_WRITE with the dispatch routine

svn path=/trunk/; revision=67876
2015-05-24 12:17:43 +00:00
Pierre Schweitzer ab8558bafd [NTFS]
Split NtfsFsdDispatch() in two.
Now, NtfsFsdDispatch() will only take care of allocating the IRP context and complete the IRP in case it failed (that fixes a null-pointer dereference, just for the record).
NtfsDispatch() will really dispatch the IRP to the internal functions. So that it can be called either directly from NtfsFsdDispatch() or by a queued IRP (to be implemented).

svn path=/trunk/; revision=67875
2015-05-24 10:48:15 +00:00
Pierre Schweitzer 4f7de22ae4 [FASTFAT]
Implement support for FastIO for:
- FastIoQueryBasicInfo
- FastIoQueryStandardInfo

Now, with this commit and the two previous, ReactOS won't attempt to issue an IRP for these query, but will directly go with the FastIO path.
The performance improvement is really visible in 1st stage (at least, here with VBox).

svn path=/trunk/; revision=67824
2015-05-18 19:51:14 +00:00
Pierre Schweitzer 89eca90722 [FASTFAT]
Fix a fixme in VfatGetUserBuffer():
Only request high priority page when in the paging path. Otherwise, request normal priority

svn path=/trunk/; revision=67808
2015-05-17 12:22:28 +00:00
Timo Kreuzer 3fa1dc5790 [KMIXER]
YDEBUG -> NDEBUG

svn path=/trunk/; revision=67777
2015-05-16 18:50:27 +00:00
Timo Kreuzer ea08eb054f [NDK]
- Add coprocessor constants

[NTOSKRNL]
- Handle process in NtFlushInstructionCache and validate parameters
- Use _MoveToCoprocessor instead of GCC inline assembly for ARM

svn path=/trunk/; revision=67770
2015-05-16 11:30:28 +00:00
Pierre Schweitzer 279c4411fa [NTFS]
Fix memory leaks

svn path=/trunk/; revision=67764
2015-05-16 10:23:55 +00:00