mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[PCIX][BLUE] Don't hardcode values in KeDelayExecutionThread() call. Remove deprecated code.
This commit is contained in:
parent
8813a0dff8
commit
75f188c200
2 changed files with 1 additions and 9 deletions
|
@ -88,7 +88,7 @@ PciStallForPowerChange(IN PPCI_PDO_EXTENSION PdoExtension,
|
||||||
/* Do a wait for the timeout specified instead */
|
/* Do a wait for the timeout specified instead */
|
||||||
Interval.QuadPart = -10 * TimeoutEntry;
|
Interval.QuadPart = -10 * TimeoutEntry;
|
||||||
Interval.QuadPart -= KeQueryTimeIncrement() - 1;
|
Interval.QuadPart -= KeQueryTimeIncrement() - 1;
|
||||||
KeDelayExecutionThread(0, 0, &Interval);
|
KeDelayExecutionThread(KernelMode, FALSE, &Interval);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,14 +15,6 @@
|
||||||
#define NDEBUG
|
#define NDEBUG
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
|
||||||
// ROS Internal. Please deprecate.
|
|
||||||
NTHALAPI
|
|
||||||
BOOLEAN
|
|
||||||
NTAPI
|
|
||||||
HalQueryDisplayOwnership(
|
|
||||||
VOID
|
|
||||||
);
|
|
||||||
|
|
||||||
/* NOTES ******************************************************************/
|
/* NOTES ******************************************************************/
|
||||||
/*
|
/*
|
||||||
* [[character][attribute]][[character][attribute]]....
|
* [[character][attribute]][[character][attribute]]....
|
||||||
|
|
Loading…
Reference in a new issue