PSPSDK 2024-12-16
Loading...
Searching...
No Matches
pspintrman.h
Go to the documentation of this file.
1/*
2 * PSP Software Development Kit - https://github.com/pspdev
3 * -----------------------------------------------------------------------
4 * Licensed under the BSD license, see LICENSE in PSPSDK root for details.
5 *
6 * pspintrman.h - Interface to the system interrupt manager.
7 *
8 * Copyright (c) 2005 James F. (tyranid@gmail.com)
9 * Copyright (c) 2005 Florin Sasu (...)
10 *
11 */
12
13#ifndef PSPINTRMAN_H
14#define PSPINTRMAN_H
15
16#include <pspkerneltypes.h>
17
25#ifdef __cplusplus
26extern "C" {
27#endif
28
29extern const char* PspInterruptNames[67];
30
60
70
76unsigned int sceKernelCpuSuspendIntr(void);
77
83void sceKernelCpuResumeIntr(unsigned int flags);
84
91
100
107
118int sceKernelRegisterSubIntrHandler(int intno, int no, void *handler, void *arg);
119
129
139
149
168
170
171#ifdef __cplusplus
172}
173#endif
174
177#endif /* PSPINTRMAN_H */
u32 flags
Definition fixup.c:1
void sceKernelCpuResumeIntr(unsigned int flags)
Resume all interrupts.
int sceKernelReleaseSubIntrHandler(int intno, int no)
Release a sub interrupt handler.
void sceKernelCpuResumeIntrWithSync(unsigned int flags)
Resume all interrupts (using sync instructions).
int sceKernelIsCpuIntrEnable(void)
Determine if interrupts are enabled or disabled.
int sceKernelIsCpuIntrSuspended(unsigned int flags)
Determine if interrupts are suspended or active, based on the given flags.
int QueryIntrHandlerInfo(SceUID intr_code, SceUID sub_intr_code, PspIntrHandlerOptionParam *data)
int sceKernelRegisterSubIntrHandler(int intno, int no, void *handler, void *arg)
Register a sub interrupt handler.
PspInterrupts
Definition pspintrman.h:32
struct tag_IntrHandlerOptionParam PspIntrHandlerOptionParam
unsigned int sceKernelCpuSuspendIntr(void)
Suspend all interrupts.
int sceKernelDisableSubIntr(int intno, int no)
Disable a sub interrupt handler.
int sceKernelEnableSubIntr(int intno, int no)
Enable a sub interrupt.
const char * PspInterruptNames[67]
Definition pspintrman.c:15
PspSubInterrupts
Definition pspintrman.h:62
@ PSP_I2C_INT
Definition pspintrman.h:39
@ PSP_HPREMOTE_INT
Definition pspintrman.h:54
@ PSP_NAND_INT
Definition pspintrman.h:46
@ PSP_SYSTIMER3_INT
Definition pspintrman.h:44
@ PSP_DMA0_INT
Definition pspintrman.h:48
@ PSP_DMACPLUS_INT
Definition pspintrman.h:47
@ PSP_VBLANK_INT
Definition pspintrman.h:52
@ PSP_MEMLMD_INT
Definition pspintrman.h:50
@ PSP_THREAD1_INT
Definition pspintrman.h:57
@ PSP_GPIO_INT
Definition pspintrman.h:33
@ PSP_MSCM1_INT
Definition pspintrman.h:55
@ PSP_SYSTIMER0_INT
Definition pspintrman.h:41
@ PSP_UMD_INT
Definition pspintrman.h:35
@ PSP_MSCM2_INT
Definition pspintrman.h:56
@ PSP_SYSTIMER1_INT
Definition pspintrman.h:42
@ PSP_ATA_INT
Definition pspintrman.h:34
@ PSP_AUDIO_INT
Definition pspintrman.h:38
@ PSP_THREAD0_INT
Definition pspintrman.h:45
@ PSP_SIRCS_INT
Definition pspintrman.h:40
@ PSP_GE_INT
Definition pspintrman.h:51
@ PSP_SYSTIMER2_INT
Definition pspintrman.h:43
@ PSP_INTERRUPT_INT
Definition pspintrman.h:58
@ PSP_MSCM0_INT
Definition pspintrman.h:36
@ PSP_DMA1_INT
Definition pspintrman.h:49
@ PSP_WLAN_INT
Definition pspintrman.h:37
@ PSP_MECODEC_INT
Definition pspintrman.h:53
@ PSP_GPIO_SUBINT
Definition pspintrman.h:63
@ PSP_ATA_SUBINT
Definition pspintrman.h:64
@ PSP_UMD_SUBINT
Definition pspintrman.h:65
@ PSP_DISPLAY_SUBINT
Definition pspintrman.h:68
@ PSP_GE_SUBINT
Definition pspintrman.h:67
@ PSP_DMACPLUS_SUBINT
Definition pspintrman.h:66
int SceUID
UIDs are used to describe many different kernel objects.
Definition pspkerneltypes.h:24
uint16_t u16
Definition psptypes.h:39
float x
Definition psptypes.h:0
uint32_t u32
Definition psptypes.h:41
Definition pspintrman.h:150
u32 max_clock_lo
Definition pspintrman.h:165
u16 intr_level
Definition pspintrman.h:157
u32 calls
Definition pspintrman.h:159
u16 sub_count
Definition pspintrman.h:156
int size
Definition pspintrman.h:151
u32 max_clock_hi
Definition pspintrman.h:166
u32 min_clock_hi
Definition pspintrman.h:164
u32 field_1C
Definition pspintrman.h:160
u32 entry
Definition pspintrman.h:152
u32 total_clock_hi
Definition pspintrman.h:162
u32 min_clock_lo
Definition pspintrman.h:163
u32 total_clock_lo
Definition pspintrman.h:161
u16 intr_code
Definition pspintrman.h:155
u32 gp
Definition pspintrman.h:154
u16 enabled
Definition pspintrman.h:158
u32 common
Definition pspintrman.h:153