sdk-core v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Loading...
Searching...
No Matches
hwbp.h
Go to the documentation of this file.
1/*
2# _____ ___ ____ ___ ____
3# ____| | ____| | | |____|
4# | ___| |____ ___| ____| | \ PS2DEV Open Source Project.
5#-----------------------------------------------------------------------
6# Copyright 2001-2004, 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
16
17#ifndef __HWBP_H__
18#define __HWBP_H__
19
20#include <tamtypes.h>
21
23#define BPC_IAE (1 << 31)
25#define BPC_DRE (1 << 30)
27#define BPC_DWE (1 << 29)
29#define BPC_DVE (1 << 28)
30
32#define BPC_IUE (1 << 26)
34#define BPC_ISE (1 << 25)
36#define BPC_IKE (1 << 24)
38#define BPC_IXE (1 << 23)
39
41#define BPC_DUE (1 << 21)
43#define BPC_DSE (1 << 20)
45#define BPC_DKE (1 << 19)
47#define BPC_DXE (1 << 18)
48
50#define BPC_ITE (1 << 17)
52#define BPC_DTE (1 << 16)
53
55#define BPC_BED (1 << 15)
56
58#define BPC_DWB (1 << 2)
60#define BPC_DRB (1 << 1)
62#define BPC_IAB (1 << 0)
63
64#ifdef __cplusplus
65extern "C" {
66#endif
67
69extern void InitBPC(void);
71extern void SetInstructionBP(u32 addr, u32 mask, u32 options);
76extern void SetDataAddrBP(u32 addr, u32 mask, u32 options);
78extern void SetDataValueBP(u32 addr, u32 mask, u32 value, u32 vmask, u32 options);
79
81extern u32 GetBPC(void);
83extern void SetBPC(u32 bpc);
84
86extern u32 GetIAB(void);
88extern void SetIAB(u32 val);
90extern u32 GetIABM(void);
92extern void SetIABM(u32 val);
94extern u32 GetDAB(void);
96extern void SetDAB(u32 val);
98extern u32 GetDABM(void);
100extern void SetDABM(u32 val);
102extern u32 GetDVB(void);
104extern void SetDVB(u32 val);
106extern u32 GetDVBM(void);
108extern void SetDVBM(u32 val);
109
110#ifdef __cplusplus
111}
112#endif
113
114#endif /* __HWBP_H__ */
u32 GetDAB(void)
void InitBPC(void)
u32 GetIABM(void)
void SetDAB(u32 val)
void SetDataValueBP(u32 addr, u32 mask, u32 value, u32 vmask, u32 options)
void SetDataAddrBP(u32 addr, u32 mask, u32 options)
void SetDVB(u32 val)
u32 GetDVBM(void)
void SetIABM(u32 val)
void SetDVBM(u32 val)
void SetIAB(u32 val)
u32 GetDABM(void)
void SetBPC(u32 bpc)
void SetDABM(u32 val)
void SetInstructionBP(u32 addr, u32 mask, u32 options)
u32 GetDVB(void)
u32 GetBPC(void)
u32 GetIAB(void)