2020-09-30 17:12:29 +02:00

66 lines
975 B
C
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*++
TITLE("Processor Idle")
Copyright (c) 1994 Microsoft Corporation
Module Name:
pxidle.c
abstract:
This module implements system platform dependent power management
support.
Author:
Jim Wooldridge
Environment:
Kernel mode only.
Revision History:
--*/
#include "halp.h"
VOID
HalProcessorIdle(
VOID
)
/*++
Routine Description:
This function is called when the current processor is idle with
interrupts disabled. There is no thread active and there are no
DPCs to process. Therefore, power can be switched to a standby
mode until the the next interrupt occurs on the current processor.
N.B. This routine is entered with EE in MSR clear. This routine
must do any power management enabling necessary, set the EE
bit in MSR, then either return or wait for an interrupt.
Arguments:
None.
Return Value:
None.
--*/
{
extern VOID HalpProcessorIdle(VOID);
HalpProcessorIdle();
}