00001 #ifndef SWI_H_ 00002 #define SWI_H_ 00003 00004 extern unsigned long IntGetCPSR(void); 00005 00006 extern unsigned long IntDisable(void); 00007 extern unsigned long IntEnable(void); 00008 extern void IntRestore(unsigned long oldstate); 00009 00010 extern unsigned long FiqDisable(void); 00011 extern unsigned long FiqEnable(void); 00012 extern void FiqRestore(unsigned long oldstate); 00013 00014 #endif 00015