about summary refs log tree commit diff stats
path: root/miasm2/jitter/arch/JitCore_arm.h
blob: 1f3ccaf22f7a853291ea3f8cac2938ccf2faa19a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
typedef struct {
	uint32_t exception_flags;

	/* gpregs */
	uint32_t R0;
	uint32_t R1;
	uint32_t R2;
	uint32_t R3;
	uint32_t R4;
	uint32_t R5;
	uint32_t R6;
	uint32_t R7;
	uint32_t R8;
	uint32_t R9;
	uint32_t R10;
	uint32_t R11;
	uint32_t R12;
	uint32_t SP;
	uint32_t LR;
	uint32_t PC;

	/* eflag */
	uint32_t zf;
	uint32_t nf;
	uint32_t of;
	uint32_t cf;

	/* ge */
	uint32_t ge0;
	uint32_t ge1;
	uint32_t ge2;
	uint32_t ge3;

	uint32_t bp_num;
}vm_cpu_t;


void dump_gpregs(vm_cpu_t* vmcpu);

#define RETURN_PC return BlockDst;