mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 23:33:01 +00:00
[NDIS] Allow timer initialization at DISPATCH_LEVEL.
Spotted by Mortal Wombat.
This commit is contained in:
parent
8ebe441d1a
commit
4eb45209ea
1 changed files with 4 additions and 4 deletions
|
@ -80,10 +80,10 @@ NdisInitializeTimer(
|
||||||
* FunctionContext: context (param 2) to be passed to the timer function when it runs
|
* FunctionContext: context (param 2) to be passed to the timer function when it runs
|
||||||
* NOTES:
|
* NOTES:
|
||||||
* - TimerFunction will be called at DISPATCH_LEVEL
|
* - TimerFunction will be called at DISPATCH_LEVEL
|
||||||
* - call at IRQL = PASSIVE_LEVEL
|
* - Must be called at IRQL <= DISPATCH_LEVEL
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
PAGED_CODE();
|
ASSERT_IRQL(DISPATCH_LEVEL);
|
||||||
ASSERT(Timer);
|
ASSERT(Timer);
|
||||||
|
|
||||||
KeInitializeTimer (&Timer->Timer);
|
KeInitializeTimer (&Timer->Timer);
|
||||||
|
@ -203,10 +203,10 @@ NdisMInitializeTimer(
|
||||||
* FunctionContext: argument passed to TimerFunction when it is called
|
* FunctionContext: argument passed to TimerFunction when it is called
|
||||||
* NOTES:
|
* NOTES:
|
||||||
* - TimerFunction is called at IRQL = DISPATCH_LEVEL
|
* - TimerFunction is called at IRQL = DISPATCH_LEVEL
|
||||||
* - call at IRQL = PASSIVE_LEVEL
|
* - Must be called at IRQL <= DISPATCH_LEVEL
|
||||||
*/
|
*/
|
||||||
{
|
{
|
||||||
PAGED_CODE();
|
ASSERT_IRQL(DISPATCH_LEVEL);
|
||||||
ASSERT(Timer);
|
ASSERT(Timer);
|
||||||
|
|
||||||
KeInitializeTimer (&Timer->Timer);
|
KeInitializeTimer (&Timer->Timer);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue