[PCIX][BLUE] Don't hardcode values in KeDelayExecutionThread() call. Remove deprecated code.

This commit is contained in:
Hermès Bélusca-Maïto 2019-11-24 21:13:35 +01:00
parent 8813a0dff8
commit 75f188c200
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
2 changed files with 1 additions and 9 deletions

View file

@ -88,7 +88,7 @@ PciStallForPowerChange(IN PPCI_PDO_EXTENSION PdoExtension,
/* Do a wait for the timeout specified instead */
Interval.QuadPart = -10 * TimeoutEntry;
Interval.QuadPart -= KeQueryTimeIncrement() - 1;
KeDelayExecutionThread(0, 0, &Interval);
KeDelayExecutionThread(KernelMode, FALSE, &Interval);
}
}

View file

@ -15,14 +15,6 @@
#define NDEBUG
#include <debug.h>
// ROS Internal. Please deprecate.
NTHALAPI
BOOLEAN
NTAPI
HalQueryDisplayOwnership(
VOID
);
/* NOTES ******************************************************************/
/*
* [[character][attribute]][[character][attribute]]....