PS2SDK
PS2 Homebrew Libraries
iop_debug.c File Reference
#include <tamtypes.h>
#include <excepman.h>
#include <iop_cop0_defs.h>
#include <ps2_debug.h>
#include "iopdebug.h"
#include "iopdebug_priv.h"
#include "iopdebug_defs.h"
+ Include dependency graph for iop_debug.c:

Go to the source code of this file.

Functions

IOP_ExceptionHandler * iop_dbg_get_handler (int cause)
 
IOP_ExceptionHandler * iop_dbg_set_handler (int cause, IOP_ExceptionHandler *handler)
 
void iop_exception_dispatcher (IOP_RegFrame *frame)
 
void _iop_dbg_set_bpda (u32 addr, u32 mask, u32 user_mask)
 
void _iop_dbg_set_bpx (u32 addr, u32 mask, u32 user_mask)
 
void iop_dbg_set_bpr (u32 addr, u32 mask, u32 user_mask)
 
void iop_dbg_set_bpw (u32 addr, u32 mask, u32 user_mask)
 
void iop_dbg_set_bpx (u32 addr, u32 mask, u32 user_mask)
 
void iop_dbg_clr_bpda (void)
 
void iop_dbg_clr_bpx (void)
 
void iop_dbg_clr_bps (void)
 
void _iop_ex_def_handler (void)
 
void _iop_ex_dbg_handler (void)
 
void _iop_ex_break_handler (void)
 
int iop_dbg_install (void)
 
int iop_dbg_remove (void)
 
void iop_dbg_get_reg_frames (IOP_RegFrame **def_frame_ptr, IOP_RegFrame **dbg_frame_ptr)
 

Variables

u32 _iop_ex_def_stack [_EX_DEF_STACK_SIZE/4]
 
u32 _iop_ex_dbg_stack [_EX_DBG_STACK_SIZE/4]
 
IOP_RegFrame _iop_ex_def_frame
 
IOP_RegFrame _iop_ex_dbg_frame
 
static int _is_iop_dbg_installed = 0
 
static void * orig_iop_def_ex_handler = NULL
 
static void * orig_iop_break_ex_handler = NULL
 
static void * orig_iop_dbg_ex_handler = NULL
 
static IOP_ExceptionHandler * iop_exception_handlers [16]
 

Detailed Description

IOPDEBUG - IOP debugging library. high-level IOP debugging library code.

Definition in file iop_debug.c.