Pierre Schweitzer
4e07b3b9f9
[AFD] Don't reallocate buffers if windows sizes didn't change
2019-03-10 12:27:30 +01:00
Timo Kreuzer
f5f6ea2965
[REACTOS] Fix 64 bit issues
2019-03-04 21:58:42 +01:00
Timo Kreuzer
403fec1b27
[SACDRV] Fix CHECK_PARAMETER_WITH_STATUS error handling macro
2019-03-04 21:58:42 +01:00
Timo Kreuzer
05f4951b8c
[CDROM_NEW] Fix SLIST_ENTRY vs SINGLE_LIST_ENTRY issues
2019-03-04 21:58:42 +01:00
Timo Kreuzer
dfd876a96b
[CLASSPNP] Fix SLIST_ENTRY vs SINGLE_LIST_ENTRY issues
2019-03-04 21:58:42 +01:00
Thomas Faber
1001e6089f
[HDAUDBUS] Wait until the correct number of responses was received. CORE-15465
...
We previously only gave the device a hard-coded amount of time to respond,
which could lead to interpreting the contents of uninitialized memory as
a response. This would lead to an unreasonably large number of audio function
groups being detected.
A KSEMAPHORE mirrors what Haiku uses here, though it may not be the optimal
synchronization primitive for this case under Windows.
2019-02-28 10:27:06 +01:00
Thomas Faber
8530ae9950
[HDAUDBUS] Handle responses in a DPC instead of the ISR.
2019-02-28 10:06:18 +01:00
Thomas Faber
a7431880bd
[HDAUDBUS] Fix a DPRINT.
2019-02-28 10:05:53 +01:00
Thomas Faber
1f76fb738a
[HDAUDBUS] Prevent overflow of the AudioGroups array. CORE-14153 CORE-15465
...
This protects against crashing in case of faulty/malicious hardware,
but also works around a bug in HDA_SendVerbs that causes it to return
invalid data, thereby suggesting more groups than are actually present.
2019-02-27 11:04:23 +01:00
Thomas Faber
a8414f665b
[HDAUDBUS] Implement HDA_Unload. Stub HDA_Power and HDA_SystemControl.
2019-02-26 09:58:53 +01:00
Thomas Faber
25b22131ca
[HDAUDBUS] Correctly mask register values.
...
See https://github.com/haiku/haiku/blob/master/src/add-ons/kernel/drivers/audio/hda/hda_controller.cpp
and https://github.com/haiku/haiku/blob/master/src/add-ons/kernel/drivers/audio/hda/driver.h#L118-L140
This fixes various device reset failures and probably other issues.
2019-02-26 09:51:48 +01:00
Thomas Faber
584baf79d9
[HDAUDBUS] Implement PDO removal. CORE-14617
2019-02-26 09:51:38 +01:00
Thomas Faber
c8c0fc8d64
[HDAUDBUS] Implement FDO removal. CORE-14617
2019-02-26 09:51:21 +01:00
Thomas Faber
b05e5b0340
[HDAUDBUS] Use IoForwardIrpSynchronously instead of HDA_SyncForwardIrp.
2019-02-26 09:50:50 +01:00
Thomas Faber
789cfd3ddc
[HDAUDBUS] Forward FDO requests instead of completing them.
2019-02-26 09:20:47 +01:00
Thomas Faber
ce6960b3f5
[HDAUDBUS] Use a switch for minor function codes.
2019-02-26 09:20:43 +01:00
Thomas Faber
9c7c2deff9
[HDAUDBUS] Split FDO/PDO PNP handling into separate functions.
2019-02-26 09:20:37 +01:00
Thomas Faber
b65ec6ffba
[HDAUDBUS] Minor fixes:
...
* Add some forward-declarations
* Add some annotations
* Improve a DPRINT
2019-02-26 09:18:41 +01:00
Pierre Schweitzer
86483d6e22
[AFD] Don't allow caller to set broken values to window sizes
...
This will avoid 0-sized allocations, or -1-sized allocations.
So far, it's maxed by hard value stored in TCPIP.sys. I believe
this is not right and would deserve a true fix
2019-02-25 22:34:28 +01:00
Pierre Schweitzer
bb9eec7537
[AFD] Add default window sizes on socket creation
2019-02-25 22:34:28 +01:00
Thomas Faber
9d53c935f2
[ACPI] Update ACPICA library to version 20190215.
2019-02-17 09:51:20 +01:00
Pierre Schweitzer
24b2d59ab6
[E1000] Remove useless null check
...
CID 512827
2019-02-16 10:02:29 +01:00
Pierre Schweitzer
e1f4d2864a
[E1000] Don't attempt to free uninitialized pointer
...
CID 1442660
2019-02-16 10:02:28 +01:00
Pierre Schweitzer
f36cbf75e3
[FASTFAT] On volume open, update share access if volume was already open
...
It was never updated afterwards, leading to a totally loss of share
access information amongst callers.
2019-02-14 10:48:32 +01:00
Andrew Cook
99ec8ff00c
[RAMDISK] Fix unterminated query table
2019-02-13 09:33:10 +01:00
Hermès Bélusca-Maïto
38be848f68
[USBSTOR][USBSTOR_NEW] Fix a comparison made for assigning the ScsiInquiryData->RemovableMedia flag.
...
Now removable drives are really reported as such.
See https://github.com/reactos/reactos/pull/308/files#r163224294
for more details.
2019-02-10 22:40:59 +01:00
Hermès Bélusca-Maïto
a56a2e95a2
[DISK.SYS] Add a HACK so that we can use NT5+ NTOS functions with this NT4 driver for removable devices.
...
This is needed in order to avoid an infinite recursive loop between
disk!UpdateRemovableGeometry() and ntos!IoReadPartitionTable().
This does not happen with NT5+ disk_new.sys because it doesn't call
IoReadPartitionTable() in that situation.
2019-02-10 22:39:12 +01:00
Pierre Schweitzer
6295cc506e
[OOPS] That was not meant to be pushed/commited
2019-02-10 20:52:55 +01:00
Pierre Schweitzer
d2c71d761e
[CRYPTEX] Add French translation
2019-02-10 20:43:14 +01:00
Serge Gautherie
17af7f0c27
[UDFS] Correctly check SeSinglePrivilegeCheck() return value
...
SeSinglePrivilegeCheck() returns a BOOLEAN, not a NTSTATUS.
CORE-14271
2019-02-10 10:16:55 +01:00
Victor Perevertkin
d9c4d28e59
[E1000] Finished an implementation of the driver.
...
Added PIDs for whole Intel 8254x family.
Note: this driver uses legacy interfaces for either receive and transmit descriptors.
CORE-14675
2019-02-07 19:48:54 +01:00
Mark Jansen
1b2ca28107
[NDIS] Improve debug output
2019-02-07 19:48:54 +01:00
Mark Jansen
3606404b2e
[E1000] Initial send implementation.
...
CORE-14675
2019-02-07 19:48:54 +01:00
Mark Jansen
ebad64bcfe
[E1000] Implement basic sending.
...
Implement some interrupt recognition
CORE-14675
2019-02-07 19:48:54 +01:00
Mark Jansen
d9b0601ceb
[E1000] Basic initialization of the card
...
Initialize some registers, allocate basic resources
CORE-14675
2019-02-07 19:48:54 +01:00
Mark Jansen
4561998a45
[E1000] Create an initial driver skeleton
...
Based on the rtl8139 driver written by Cameron Gutman
CORE-14675
2019-02-07 19:48:54 +01:00
Alexandr A. Telyatnikov
0c7e9684bd
[UNIATA] Add AHCI revision 1.3.1
...
Also explicitly print current AHCI revision in debug log. CORE-15643
2019-02-02 15:47:39 +01:00
Hermès Bélusca-Maïto
b6c49bdff2
[MOUNTMGR] Fix MSVC build after commit 53abbb06
.
2019-01-27 16:09:54 +01:00
Hermès Bélusca-Maïto
53abbb06b5
[MOUNTMGR][MUP] Use global definition of INIT_FUNCTION/INIT_SECTION (Addendum to 71fefa32
).
2019-01-27 02:40:11 +01:00
Joachim Henze
3463b2db9f
[CDFS] Addendum to last commit CORE-15659
...
#endif placed wrong.
Thx Pierre Schweitzer, Thomas Faber, Serge Gautherie
2019-01-22 19:20:47 +01:00
Joachim Henze
bccad87f3c
[CDFS] Make windows gcc release build compile, regression CORE-15659
2019-01-22 18:49:51 +01:00
Pierre Schweitzer
20ddde0a97
[MOUNTMGR] Misc. fixes to QueryDeviceInformation:
...
- Simplify failure path for DeviceName query failure
- Don't make stable query failure fail the whole function call
Based on a patch by Vadim Galiant
CORE-15550
2019-01-20 17:38:29 +01:00
Thomas Faber
363f5f26b1
[ACPICA] Update to version 20190108. CORE-15593
2019-01-12 16:27:54 +01:00
Thomas Faber
ecbd6353cc
[ACPICA] Update to version 20181213. CORE-15593
2019-01-12 16:27:42 +01:00
Thomas Faber
bc002f1708
[FASTFAT] Avoid a use after free in VfatCloseFile.
2019-01-12 16:27:37 +01:00
Thomas Faber
bc8307205b
[FASTFAT] Avoid a use after free in VfatCheckForDismount.
2019-01-12 16:27:30 +01:00
Pierre Schweitzer
d84ab9ec7c
[MOUNTMGR] Fix buffer length checking
...
Found by Vadim Galiant.
CORE-15549
2019-01-03 23:12:16 +01:00
Eric Kohl
8be4a871b1
Addendum to 60f018ae
: Remove obsolete DPRINTs and fix a DPRINT.
2019-01-03 21:32:33 +01:00
Eric Kohl
60f018aea6
[ACPI] Add code to retrieve packet type data from ACPI methods. This will enable the cmbatt driver to retrieve _BIF (battery information) or _BST (battery status) data. Also fix the buffer size calculation for integer and string data.
2019-01-02 23:29:12 +01:00
Pierre Schweitzer
9d0eb9b7b8
[TCPIP] Don't trust the TEB
...
And trust the Russian hackers to exploit that.
2019-01-02 23:02:44 +01:00