ps2sdk
1.1
A collection of Open Source libraries used for developing applications on Sony's PlayStation 2® (PS2).
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
#ifndef __HWBP_H__
17
#define __HWBP_H__
18
19
#include <
tamtypes.h
>
20
22
#define BPC_IAE (1 << 31)
24
#define BPC_DRE (1 << 30)
26
#define BPC_DWE (1 << 29)
28
#define BPC_DVE (1 << 28)
29
31
#define BPC_IUE (1 << 26)
33
#define BPC_ISE (1 << 25)
35
#define BPC_IKE (1 << 24)
37
#define BPC_IXE (1 << 23)
38
40
#define BPC_DUE (1 << 21)
42
#define BPC_DSE (1 << 20)
44
#define BPC_DKE (1 << 19)
46
#define BPC_DXE (1 << 18)
47
49
#define BPC_ITE (1 << 17)
51
#define BPC_DTE (1 << 16)
52
54
#define BPC_BED (1 << 15)
55
57
#define BPC_DWB (1 << 2)
59
#define BPC_DRB (1 << 1)
61
#define BPC_IAB (1 << 0)
62
63
#ifdef __cplusplus
64
extern
"C"
{
65
#endif
66
68
void
InitBPC
(
void
);
70
void
SetInstructionBP
(
u32
addr,
u32
mask,
u32
options);
75
void
SetDataAddrBP
(
u32
addr,
u32
mask,
u32
options);
77
void
SetDataValueBP
(
u32
addr,
u32
mask,
u32
value,
u32
vmask,
u32
options);
78
80
u32
GetBPC
(
void
);
82
void
SetBPC
(
u32
bpc);
83
85
u32
GetIAB
(
void
);
87
void
SetIAB
(
u32
val);
89
u32
GetIABM
(
void
);
91
void
SetIABM
(
u32
val);
93
u32
GetDAB
(
void
);
95
void
SetDAB
(
u32
val);
97
u32
GetDABM
(
void
);
99
void
SetDABM
(
u32
val);
101
u32
GetDVB
(
void
);
103
void
SetDVB
(
u32
val);
105
u32
GetDVBM
(
void
);
107
void
SetDVBM
(
u32
val);
108
109
#ifdef __cplusplus
110
}
111
#endif
112
113
#endif
/* __HWBP_H__ */
GetDAB
u32 GetDAB(void)
InitBPC
void InitBPC(void)
GetIABM
u32 GetIABM(void)
SetDAB
void SetDAB(u32 val)
SetDataValueBP
void SetDataValueBP(u32 addr, u32 mask, u32 value, u32 vmask, u32 options)
SetDataAddrBP
void SetDataAddrBP(u32 addr, u32 mask, u32 options)
SetDVB
void SetDVB(u32 val)
GetDVBM
u32 GetDVBM(void)
SetIABM
void SetIABM(u32 val)
SetDVBM
void SetDVBM(u32 val)
SetIAB
void SetIAB(u32 val)
GetDABM
u32 GetDABM(void)
SetBPC
void SetBPC(u32 bpc)
SetDABM
void SetDABM(u32 val)
SetInstructionBP
void SetInstructionBP(u32 addr, u32 mask, u32 options)
GetDVB
u32 GetDVB(void)
GetBPC
u32 GetBPC(void)
GetIAB
u32 GetIAB(void)
tamtypes.h
u32
unsigned int u32
Definition:
tamtypes.h:30
ee
debug
include
hwbp.h
Generated on Thu Feb 11 2021 11:42:21 for ps2sdk by
1.9.2