Commit graph

6134 commits

Author SHA1 Message Date
Amine Khaldi 024dcc7549 [MUP][NTOS] Fix some misspellings. By Jared Smudde. CORE-10984
svn path=/trunk/; revision=71021
2016-03-18 10:29:46 +00:00
Pierre Schweitzer cfec64a66a [FS_REC]
Implement support for recognizing the Btrfs volumes.

Patch by Peter Hater.

CORE-10892 #comment The fs_rec part has been committed, thanks!

svn path=/trunk/; revision=70955
2016-03-05 13:01:11 +00:00
Hermès Bélusca-Maïto 960b573f7b [REACTOS]: s/partiton/partition/
svn path=/trunk/; revision=70815
2016-02-29 01:22:02 +00:00
Pierre Schweitzer cb7c75c1d1 [FS_REC]
--MagicValues;

svn path=/trunk/; revision=70796
2016-02-28 11:27:05 +00:00
Pierre Schweitzer 3355fd5594 [FASTFAT]
Don't mark a pending IRP twice

svn path=/trunk/; revision=70788
2016-02-25 20:52:55 +00:00
Pierre Schweitzer 0f01876900 [NTFS]
Add a missing lock

svn path=/trunk/; revision=70787
2016-02-25 20:49:31 +00:00
Pierre Schweitzer c87591d771 [DISK]
Also had the nasty partition number hack to IOCTL_DISK_GET_PARTITION_INFO_EX.

It is required for some file system to work in ReactOS (teasing :-))

svn path=/trunk/; revision=70781
2016-02-24 07:55:36 +00:00
Pierre Schweitzer c0be6ae94e [NTFS]
Properly queue the IRP for deferred execution in case we got pending status

svn path=/trunk/; revision=70780
2016-02-24 07:54:20 +00:00
Pierre Schweitzer 5876421913 [NTFS]
Even more locking

svn path=/trunk/; revision=70779
2016-02-23 22:19:38 +00:00
Pierre Schweitzer 3d8efb5447 [NTFS]
Moar locking
Any resemblance to previous commit, living or dead, is purely coincidental

svn path=/trunk/; revision=70778
2016-02-23 20:45:11 +00:00
Pierre Schweitzer 2bda155345 [NTFS]
Moar locking

svn path=/trunk/; revision=70777
2016-02-23 19:57:10 +00:00
Pierre Schweitzer 3283c55709 [NTFS]
r70772b

svn path=/trunk/; revision=70773
2016-02-22 22:23:08 +00:00
Pierre Schweitzer a8644f7a2d [NTFS]
- Implement IRP_MJ_CLEANUP (minus the cases we can't deal with yet)
- Implement open handles count for FCB & VCB
- Implement volume locking (so useful)

svn path=/trunk/; revision=70772
2016-02-22 22:20:54 +00:00
Pierre Schweitzer 24d3676235 [DISK]
- Remove one hack that seems not to be required anylonger.
- Add a comment to highlight the usage of the infamous partition 0 hack (who's the IopParseDevice() hack friend!)

svn path=/trunk/; revision=70771
2016-02-22 20:47:55 +00:00
Pierre Schweitzer dcef60424d [NTFS]
Cowardly refuse to continue processing (enumerating/reading) when stumbling upon a compressed entry.
This avoids infinite loops when enumerating, incorrect files contents when reading.

CORE-10814 #resolve #comment 'Fixed' with r70750

svn path=/trunk/; revision=70750
2016-02-14 22:44:54 +00:00
Pierre Schweitzer 364edfc021 [FASTFAT]
[NTFS]
Thanks to r70746, now, drop our beloved fix/hack/whatever about non-initialized floppy disks.

svn path=/trunk/; revision=70748
2016-02-14 19:56:17 +00:00
Pierre Schweitzer a8410e8c47 [EXT2]
Revert r70746, more appropriate fix was committed in r70746

svn path=/trunk/; revision=70747
2016-02-14 19:54:54 +00:00
Pierre Schweitzer 78eb31503a [FLOPPY]
When discovering floppy controlers, immediately probe controlers to check whether they have a disk and if so, what's its geometry.
This avoids waiting for the first read, which will obviously never happen because FSD will try other operations depending on not set geometry.

This implies a modification in RWDetermineMediaType() to avoid infinite wait, in case there's no disk at all in the controler.

Addendum to r70725

svn path=/trunk/; revision=70746
2016-02-14 19:53:47 +00:00
Pierre Schweitzer f79fbfbb61 [EXT2]
Add the ReactOS famous... hack? fix? whatever? already present in FastFAT, NTFS...:
When accessing a floppy disk, our floppy storage stack can return that the disk type is unknown (some would say it's legit - see comments in FastFAT) and will also return a disk sector size of 0.
Then, when trying to read the floppy disk with said size, everything goes wrong (null length read is never a good thing). So, as in any other FSD in ReactOS, for disk sector size to 512 bytes in this really specific case.

This fixes BSOD when having a floppy drive in ReactOS (whatever its filesystem).

CORE-10464 #resolve #comment Fixed with r70725

svn path=/trunk/; revision=70725
2016-02-13 09:16:45 +00:00
Hermès Bélusca-Maïto 10bff42ab6 Remove redundant extra terminating ';' in all of our C code.
svn path=/trunk/; revision=70690
2016-02-04 20:42:07 +00:00
Hermès Bélusca-Maïto 02e447d135 [CODE]: s/interupt/interrupt/
svn path=/trunk/; revision=70689
2016-02-04 20:27:44 +00:00
Hermès Bélusca-Maïto 7e33c2343e [i8042PRT]: Forgot this one, addendum to r70680.
svn path=/trunk/; revision=70681
2016-02-03 00:40:37 +00:00
Hermès Bélusca-Maïto 9cc0aedad7 [FREELDR][STREAM][NTOS]
Replace old bugzilla report IDs to their JIRA counterparts.

[LIBUSB]
The third parameter of IoRegisterDeviceInterface is a pointer (optional). Use NULL instead of 0.

svn path=/trunk/; revision=70680
2016-02-03 00:37:23 +00:00
Amine Khaldi c8bc427d74 [I8042PRT] Apply a workaround for Dell Latitude D630. By Thomas Faber. CORE-10797
svn path=/trunk/; revision=70639
2016-01-25 18:08:06 +00:00
Sylvain Petreolle 9511b56f3c [FLOPPY]
Check for controller configuration status.
CORE-10761 #comment Please retest.

svn path=/trunk/; revision=70606
2016-01-17 16:59:55 +00:00
Pierre Schweitzer a8eec26809 [MOUNTMGR]
Warn when stubling upon Winism.

svn path=/trunk/; revision=70596
2016-01-15 21:12:57 +00:00
Eric Kohl 4216e8389f [SCSIPORT]
Fix indentation! No code changes!

svn path=/trunk/; revision=70574
2016-01-10 22:39:25 +00:00
Thomas Faber 9533d5eb74 [ACPICA]
- Update to version 20160108

svn path=/trunk/; revision=70551
2016-01-08 16:41:39 +00:00
Thomas Faber 3e7cd6e646 [ACPICA]
- Actually use the BSD/GPL licensed version as we should be, instead of the Intel license

svn path=/trunk/; revision=70550
2016-01-08 16:37:52 +00:00
Pierre Schweitzer d5691eba70 [FDC]
Fix FdcPower() stub so that it doesn't leak IRP on shutdown
Dedicated to Thomas.

CORE-10117

svn path=/trunk/; revision=70531
2016-01-07 19:23:55 +00:00
Hermès Bélusca-Maïto e28db0eef1 [USBEHCI]: Fix a wrong DPRINT string (caught by Thomas).
svn path=/trunk/; revision=70526
2016-01-07 13:44:20 +00:00
Hermès Bélusca-Maïto 0f3e09ea77 [USB(E|O|U)HCI]: Handle failure cases of BuildTransferDescriptorChain. By contributor 'vgal'. This is needed for gracefully handling failure cases hit during diagnosing CORE-8046.
CORE-10776

svn path=/trunk/; revision=70511
2016-01-06 23:43:38 +00:00
Hermès Bélusca-Maïto f16214d4ed [BOOTVID]: CORE-10777 #comment Sync the Plan-9 font to ARM bootvid. Addendum to r70508.
svn path=/trunk/; revision=70509
2016-01-06 17:39:08 +00:00
Amine Khaldi 678997dfe9 [BOOTVID] Use plan 9 8x13 font from Markus Kuhn. Patch by Roy Tam. CORE-10777
svn path=/trunk/; revision=70508
2016-01-06 15:43:24 +00:00
Colin Finck 471c9fdae6 [BOOTVID]
Change the Blue Screen Font hardcoded into bootvid.dll to the Open Source "Anonymous Pro" font, which makes a nice 8x13 font.
Blue Screens now look like this: http://fs5.directupload.net/images/160106/ehv6245t.png

[BOOTVID_FONT_GENERATOR]
In case you find an even better font, you now have a nice little tool to test that font and generate the corresponding FontData array for bootvid.

svn path=/trunk/; revision=70507
2016-01-06 09:31:53 +00:00
Ged Murphy e77e4e378c [FLTMGR]
- Fix a bug in FltpDetachFromFileSystemDevice so it correctly bails when we've walked the attached device list.
- FltpDispatch can come in at high IRQL. Thanks to Thomas for noticing that err.
- Add newlines to the end of DPRINTS (it's been a while...)
- The filter now loads and runs in the reactos FS stack.

svn path=/trunk/; revision=70495
2016-01-05 18:43:26 +00:00
Ged Murphy d3c70e5b56 [FLTMGR]
- Mark the Dispatch / FastIo functions as paged code
- Fix declarations and remove casts

svn path=/trunk/; revision=70493
2016-01-05 13:04:52 +00:00
Ged Murphy 3789427f96 [FLTMGR]
- Plug in the dispatch routines. These are just pass through methods for now to get the filter up and running.
- Implement the FastIo handlers. The majority of these call the FastIo routines of the attached device object.
- Make sure we detach from devices that are being deleted in FastIoDetachDevice.
- Move the FastIoDetachDevice routine to a deferred call as it's too expensive to tie up a FastIo request.

svn path=/trunk/; revision=70488
2016-01-04 12:50:06 +00:00
Thomas Faber e6491c8051 [ACPICA]
- Update to version 20151218
CORE-10765

svn path=/trunk/; revision=70472
2015-12-31 14:25:35 +00:00
Hermès Bélusca-Maïto f4e200b907 [KDCOM]
For MSVC builds (using KDCOM kd64 WinDbg protocol): Bail out for droppable packets after a given number of retries, if no debugger is attached (list of droppable packets can be found in http://articles.sysprogs.org/kdvmware/kdcom.shtml section "KDCOM protocol", subsection "Droppable packets").
CORE-10541 #resolve #comment Finally fixed in revision r70417!
CORE-7106

svn path=/trunk/; revision=70417
2015-12-25 18:43:16 +00:00
Hermès Bélusca-Maïto 07f2fe8cb5 [XDK]
Correctly fix the definition of DRIVER_FS_NOTIFICATION (done the same way as the other DRIVER_xxx "callback" functions; by the way you'll notice they are all NTAPI aka. __stdcall. This is not explicitely mentioned in the W(D)DK, because MS supposes you compile all your kernel-mode code in stdcall convention, the WDK environment coming with preset default compiler switches enabling that. But if you try changing them, you'll run into big troubles. In our headers on the contrary we explicitely mention the calling conventions).

[FLTMGR]
Fix FltpFsNotification to adhere to the correct DRIVER_FS_NOTIFICATION definition.

Addendum to r70410.

svn path=/trunk/; revision=70413
2015-12-23 16:15:08 +00:00
Ged Murphy 9b329d580d [FLTMGR]
- Add the beginning of the fltmgr. It's called rosfltmgr for now so I can test in Windows.
- It's currently just base code  which registers for file systems appearing (or disappearing), and attaches itself to them and all other mounted devices in their chain.
- Although it builds (touch wood), don't add it to a running system. The IRPs aren't plugged in yet and it'll just bugcheck lower down the stack.

svn path=/trunk/; revision=70409
2015-12-23 14:41:05 +00:00
Hermès Bélusca-Maïto 716992c8c7 [KDCOM]
Do not use the "LoaderBlock->u.I386.CommonDataArea;" hack to use FreeLdr's DbgPrint function inside KDCOM, for the simple reason that while it works when KDCOM just initializes, the memory area where FreeLdr's DbgPrint function is, gets erased when ReactOS is running. As a result, all attempts to call the DbgPrint function when tracing something in KDCOM at the end of life of ReactOS, just fails lamentably (it hangs).
We therefore cannot rely on external code to provide us with DbgPrint. Instead, implement a very simple DbgPrint function inside KDCOM, as done by KDGDB.
The KD serial port serving for debugging KDCOM is chosen dynamically amongst the other free COM ports.

This needs to be also fixed in KDVM.

[KDGDB]
Instead of hardcoding the KD serial port number serving for debugging KDGDB, determine it dynamically amongst the other free COM ports.

svn path=/trunk/; revision=70405
2015-12-20 16:21:59 +00:00
Pierre Schweitzer a6577878cb [TCPIP]
Fix the last failing tests of iphlpapi_apitest:SendARP

svn path=/trunk/; revision=70323
2015-12-11 22:30:02 +00:00
Pierre Schweitzer cba476574d [TCPIP]
Fix one test failure

svn path=/trunk/; revision=70312
2015-12-08 22:16:18 +00:00
Thomas Faber b578474474 [CLASS2]
- Don't take a reference on the device object in ScsiClassClaimDevice since it's not going to be released before device removal. Inspired by classpnp. Fixes ejecting mass storage devices.
CORE-8911 #resolve

svn path=/trunk/; revision=70310
2015-12-08 17:46:33 +00:00
Thomas Faber 4ed942b77e [CLASS2]
- Properly forward PNP IRPs to the lower device
CORE-8911

svn path=/trunk/; revision=70308
2015-12-08 13:54:35 +00:00
Thomas Faber b56eae0abf [CLASS2]
- Fix build
CORE-8911

svn path=/trunk/; revision=70307
2015-12-08 13:30:06 +00:00
Thomas Faber be9fbd0e66 [CLASS2]
- Add a Signature member to make devices created from class2's AddDevice recognizable
CORE-8911

svn path=/trunk/; revision=70306
2015-12-08 13:25:37 +00:00
Thomas Faber 8b9fb19bab [FASTFAT]
- Always use the full path name when looking for FCB hashes
CORE-10483 #resolve

svn path=/trunk/; revision=70304
2015-12-08 12:57:45 +00:00