https://git.reactos.org/?p=reactos.git;a=commitdiff;h=ba77a09c04a02841a6b884...
commit ba77a09c04a02841a6b88428697bd725402c1b9d Author: Serge Gautherie reactos-git_serge_171003@gautherie.fr AuthorDate: Thu Nov 12 01:22:46 2020 +0100 Commit: Stanislav Motylkov x86corez@gmail.com CommitDate: Sun Jun 20 00:44:09 2021 +0300
[UNIATA] Workaround random crashes on Virtual PC (#3377)
I am not sure why this line was added. I don't know how I could improve that case. Then, disable it, for the time being.
Addendum to 4b9cf2e (r71252). CORE-12441 CORE-17371 --- drivers/storage/ide/uniata/id_queue.cpp | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/drivers/storage/ide/uniata/id_queue.cpp b/drivers/storage/ide/uniata/id_queue.cpp index bdafe2fd8e6..a042cf21e54 100644 --- a/drivers/storage/ide/uniata/id_queue.cpp +++ b/drivers/storage/ide/uniata/id_queue.cpp @@ -231,7 +231,11 @@ UniataQueueRequest( AtaReq->next_req = NULL; LunExt->first_req = LunExt->last_req = AtaReq; +#ifdef __REACTOS__ + // Do nothing here, workaround for CORE-12441 and CORE-17371 +#else chan->cur_cdev = GET_CDEV(Srb); +#endif } LunExt->queue_depth++; chan->queue_depth++;