pspsdk-1.0+beta2
pspintrman_kernel.h
Go to the documentation of this file.
1 /*
2  * PSP Software Development Kit - http://www.pspdev.org
3  * -----------------------------------------------------------------------
4  * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5  *
6  * pspintrman_kernel.h - Interface to the system interrupt manager.
7  *
8  * Copyright (c) 2005 James F. (tyranid@gmail.com)
9  *
10  * $Id: pspintrman_kernel.h 2100 2006-12-12 19:04:19Z tyranid $
11  */
12 
13 #ifndef PSPINTRMAN_KERNEL_H
14 #define PSPINTRMAN_KERNEL_H
15 
16 #include <pspkerneltypes.h>
17 
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
40 int sceKernelRegisterIntrHandler(int intno, int no, void *handler, void *arg1, void *arg2);
41 
49 int sceKernelReleaseIntrHandler(int intno);
50 
58 int sceKernelEnableIntr(int intno);
59 
67 int sceKernelDisableIntr(int intno);
68 
74 int sceKernelIsIntrContext(void);
75 
76 #ifdef __cplusplus
77 }
78 #endif
79 
82 #endif /* PSPINTRMAN_KERNEL_H */