00001 /* 00002 * PSP Software Development Kit - http://www.pspdev.org 00003 * ----------------------------------------------------------------------- 00004 * Licensed under the BSD license, see LICENSE in PSPSDK root for details. 00005 * 00006 * pspintrman_kernel.h - Interface to the system interrupt manager. 00007 * 00008 * Copyright (c) 2005 James F. (tyranid@gmail.com) 00009 * 00010 * $Id: pspintrman_kernel.h 2100 2006-12-12 19:04:19Z tyranid $ 00011 */ 00012 00013 #ifndef PSPINTRMAN_KERNEL_H 00014 #define PSPINTRMAN_KERNEL_H 00015 00016 #include <pspkerneltypes.h> 00017 00024 00025 #ifdef __cplusplus 00026 extern "C" { 00027 #endif 00028 00040 int sceKernelRegisterIntrHandler(int intno, int no, void *handler, void *arg1, void *arg2); 00041 00049 int sceKernelReleaseIntrHandler(int intno); 00050 00058 int sceKernelEnableIntr(int intno); 00059 00067 int sceKernelDisableIntr(int intno); 00068 00074 int sceKernelIsIntrContext(void); 00075 00076 #ifdef __cplusplus 00077 } 00078 #endif 00079 00082 #endif /* PSPINTRMAN_KERNEL_H */