void libarm_restore_irq_fiq int  disable_irq_fiq_return  ) 
 

Restores the IRQ and FIQ interrupt enable state.

Parameters:
disable_irq_fiq_return   The value returned from libarm_disable_irq_fiq.
This function restores the IRQ and FIQ enable state to the state it was in before a call to libarm_disable_irq_fiq.

Note that this function modifies the CPSR register's control field and therefore will only work when the CPU is executing in a privileged operating mode.

Example:

  int s;

  // Disable IRQ and FIQ interrupts
  s = libarm_disable_irq_fiq();

  ...

  // Restore IRQ and FIQ interrupts
  libarm_restore_irq_fiq(s);