MdePkg/Library/BaseLib/Cpu.c File Reference


Functions

BOOLEAN EFIAPI SaveAndDisableInterrupts (VOID)
BOOLEAN EFIAPI SetInterruptState (IN BOOLEAN InterruptState)

Detailed Description

Base Library CPU Functions for all architectures.

Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.


Function Documentation

BOOLEAN EFIAPI SaveAndDisableInterrupts ( VOID   ) 

BOOLEAN EFIAPI SetInterruptState ( IN BOOLEAN  InterruptState  ) 

Set the current CPU interrupt state.

Sets the current CPU interrupt state to the state specified by InterruptState. If InterruptState is TRUE, then interrupts are enabled. If InterruptState is FALSE, then interrupts are disabled. InterruptState is returned.

Parameters:
InterruptState TRUE if interrupts should be enabled. FALSE if interrupts should be disabled.
Returns:
InterruptState

References DisableInterrupts(), and EnableInterrupts().

Referenced by PciCf8And16(), PciCf8And32(), PciCf8And8(), PciCf8AndThenOr16(), PciCf8AndThenOr32(), PciCf8AndThenOr8(), PciCf8BitFieldAnd16(), PciCf8BitFieldAnd32(), PciCf8BitFieldAnd8(), PciCf8BitFieldAndThenOr16(), PciCf8BitFieldAndThenOr32(), PciCf8BitFieldAndThenOr8(), PciCf8BitFieldOr16(), PciCf8BitFieldOr32(), PciCf8BitFieldOr8(), PciCf8BitFieldRead16(), PciCf8BitFieldRead32(), PciCf8BitFieldRead8(), PciCf8BitFieldWrite16(), PciCf8BitFieldWrite32(), PciCf8BitFieldWrite8(), PciCf8Or16(), PciCf8Or32(), PciCf8Or8(), PciCf8Read16(), PciCf8Read32(), PciCf8Read8(), PciCf8Write16(), PciCf8Write32(), and PciCf8Write8().


Generated on Thu Sep 24 23:14:22 2015 for MdePkg[ALL] by  doxygen 1.5.7.1