RetroArch
wii
libogc
include
ogc
context.h
Go to the documentation of this file.
1
#ifndef __EXCONTEXT_H__
2
#define __EXCONTEXT_H__
3
4
#define NUM_EXCEPTIONS 15
5
6
#define EX_SYS_RESET 0
7
#define EX_MACH_CHECK 1
8
#define EX_DSI 2
9
#define EX_ISI 3
10
#define EX_INT 4
11
#define EX_ALIGN 5
12
#define EX_PRG 6
13
#define EX_FP 7
14
#define EX_DEC 8
15
#define EX_SYS_CALL 9
16
#define EX_TRACE 10
17
#define EX_PERF 11
18
#define EX_IABR 12
19
#define EX_RESV 13
20
#define EX_THERM 14
21
22
#ifndef _LANGUAGE_ASSEMBLY
23
24
#include <
gctypes.h
>
25
26
#ifdef __cplusplus
27
extern
"C"
{
28
#endif
/* __cplusplus */
29
30
typedef
struct
_excption_frame
{
31
u32
EXCPT_Number
;
32
u32
SRR0
,
SRR1
;
33
u32
GPR
[32];
34
u32
GQR
[8];
35
u32
CR
,
LR
,
CTR
,
XER
,
MSR
,
DAR
;
36
37
u16
state
;
//used to determine whether to restore the fpu context or not
38
u16
mode
;
//unused
39
40
f64
FPR
[32];
41
u64
FPSCR
;
42
f64
PSFPR
[32];
43
}
frame_context
;
44
45
#ifdef __cplusplus
46
}
47
#endif
/* __cplusplus */
48
49
#endif
50
51
#endif
_excption_frame::FPSCR
u64 FPSCR
Definition:
context.h:41
_excption_frame::GQR
u32 GQR[8]
Definition:
context.h:34
_excption_frame::EXCPT_Number
u32 EXCPT_Number
Definition:
context.h:31
_excption_frame
Definition:
context.h:30
gctypes.h
Data type definitions.
_excption_frame::SRR0
u32 SRR0
Definition:
context.h:32
_excption_frame::SRR1
u32 SRR1
Definition:
context.h:32
_excption_frame::XER
u32 XER
Definition:
context.h:35
_excption_frame::CR
u32 CR
Definition:
context.h:35
_excption_frame::GPR
u32 GPR[32]
Definition:
context.h:33
_excption_frame::mode
u16 mode
Definition:
context.h:38
_excption_frame::PSFPR
f64 PSFPR[32]
Definition:
context.h:42
_excption_frame::MSR
u32 MSR
Definition:
context.h:35
f64
double f64
Definition:
gctypes.h:44
u16
uint16_t u16
16bit unsigned integer
Definition:
gctypes.h:18
_excption_frame::CTR
u32 CTR
Definition:
context.h:35
_excption_frame::LR
u32 LR
Definition:
context.h:35
_excption_frame::FPR
f64 FPR[32]
Definition:
context.h:40
u64
uint64_t u64
64bit unsigned integer
Definition:
gctypes.h:20
_excption_frame::DAR
u32 DAR
Definition:
context.h:35
_excption_frame::state
u16 state
Definition:
context.h:37
frame_context
struct _excption_frame frame_context
u32
uint32_t u32
32bit unsigned integer
Definition:
gctypes.h:19
Generated by
1.8.15