Due ARM equivalent of ATOMIC_BLOCK(ATOMIC_RESTORESTATE) [SOLVED]

Well after an afternoon of searching I found an ARM assembly language commands to turn global interrupts on or off. The following little code snippet will add two inline functions to perform the procedure.

__inline__ static void disable_interrupts( void )
{
  __asm__ __volatile__ ("cli" ::); 
}

__inline__ static void enable_interrupts( void )
{
  __asm__ __volatile__ ("sei" ::); 
}