-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtypes.h
48 lines (39 loc) · 1.08 KB
/
types.h
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
42
43
44
45
46
47
/*
* a3e - ARMv7 emulator
* Copyright (C) 2011 Guillermo Ramos <[email protected]>
*
* This file is part of a3e
*
* a3e is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* a3e is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with a3e. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef _TYPES_H
#define _TYPES_H
#include <libdisarm/disarm.h>
#include <stdint.h>
typedef uint32_t u32;
typedef uint16_t u16;
typedef uint8_t u8;
typedef int32_t s32;
typedef int16_t s16;
typedef int8_t s8;
struct instruction {
union {
u8 _byte[4];
u32 _u32;
} val;
da_cond_t cond;
da_group_t group;
da_instr_args_t args;
};
#endif /* _TYPES_H */