TianoCore EDK2 master
Loading...
Searching...
No Matches
CpuSleepGcc.c File Reference

Go to the source code of this file.

Functions

VOID EFIAPI CpuSleep (VOID)
 

Detailed Description

CpuSleep function for Ia32/X64 GCC.

Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.
Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent

Definition in file CpuSleepGcc.c.

Function Documentation

◆ CpuSleep()

VOID EFIAPI CpuSleep ( VOID  )

Places the CPU in a sleep state until an interrupt is received.

Places the CPU in a sleep state until an interrupt is received. If interrupts are disabled prior to calling this function, then the CPU will be placed in a sleep state indefinitely.

Definition at line 20 of file CpuSleepGcc.c.