Functions | |
BOOLEAN EFIAPI | SaveAndDisableInterrupts (VOID) |
BOOLEAN EFIAPI | SetInterruptState (IN BOOLEAN InterruptState) |
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.
Disables CPU interrupts and returns the interrupt state prior to the disable operation.
TRUE | CPU interrupts were enabled on entry to this call. | |
FALSE | CPU interrupts were disabled on entry to this call. |
References DisableInterrupts(), and GetInterruptState().
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().
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.
InterruptState | TRUE if interrupts should be enabled. FALSE if interrupts should be disabled. |
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().