19 #include <sys/cdefs.h>
32 #define BARA (*((vuint32*)0xFF200000))
33 #define BASRA (*((vuint8*)0xFF000014))
34 #define BAMRA (*((vuint8*)0xFF200004))
35 #define BBRA (*((vuint16*)0xFF200008))
36 #define BARB (*((vuint32*)0xFF20000C))
37 #define BASRB (*((vuint8*)0xFF000018))
38 #define BAMRB (*((vuint8*)0xFF200010))
39 #define BBRB (*((vuint16*)0xFF200014))
40 #define BRCR (*((vuint16*)0xFF200020))
47 __asm__ __volatile__(
"nop\n"
static void ubc_disable_all()
Disable all UBC breakpoints.
Definition: ubc.h:61
#define BBRB
BBRB register.
Definition: ubc.h:39
#define BBRA
BBRA register.
Definition: ubc.h:35
static void ubc_pause()
Pause after setting UBC parameters.
Definition: ubc.h:46
static void ubc_break_inst(uint32 address, int use_dbr)
Set a UBC instruction access breakpoint at the given address.
Definition: ubc.h:83
unsigned long uint32
32-bit unsigned integer
Definition: types.h:28
#define BAMRA
BAMRA register.
Definition: ubc.h:34
static void ubc_break_data_write(uint32 address)
Set a UBC data-write breakpoint at the given address.
Definition: ubc.h:70
#define BARA
BARA register.
Definition: ubc.h:32
#define BRCR
BRCR register.
Definition: ubc.h:40
#define BASRA
BASRA register.
Definition: ubc.h:33