PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
iopdebug_priv.h
Go to the documentation of this file.
1
/*
2
# _____ ___ ____ ___ ____
3
# ____| | ____| | | |____|
4
# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5
#-----------------------------------------------------------------------
6
# Copyright 2001-2009, ps2dev - http://www.ps2dev.org
7
# Licenced under Academic Free License version 2.0
8
# Review ps2sdk README & LICENSE files for further details.
9
*/
10
17
#ifndef _IOP_DEBUG_PRIV_H
18
#define _IOP_DEBUG_PRIV_H
19
20
#include <
tamtypes.h
>
21
#include <
intrman.h
>
22
23
#ifdef __cplusplus
24
extern
"C"
{
25
#endif
26
28
static
inline
void
EnterCritical
(u32 *old_state) {
CpuSuspendIntr
((
int
*) old_state); }
29
31
static
inline
void
ExitCritical
(u32 old_state) {
CpuResumeIntr
((
int
) old_state); }
32
33
#ifdef __cplusplus
34
}
35
#endif
36
37
#endif
// #ifndef _IOP_DEBUG_PRIV_H
intrman.h
CpuResumeIntr
int CpuResumeIntr(int state)
Definition
intrman.c:227
CpuSuspendIntr
int CpuSuspendIntr(int *state)
Definition
intrman.c:205
EnterCritical
static void EnterCritical(u32 *old_state)
Definition
iopdebug_priv.h:28
ExitCritical
static void ExitCritical(u32 old_state)
Definition
iopdebug_priv.h:31
tamtypes.h
iop
debug
iopdebug
src
iopdebug_priv.h
Generated on Thu Nov 14 2024 05:25:26 for PS2SDK by
1.9.8