-
Notifications
You must be signed in to change notification settings - Fork 17
/
qsim-regs.h
29 lines (25 loc) · 1.03 KB
/
qsim-regs.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
#ifndef __QSIM_REGS_H
#define __QSIM_REGS_H
/*****************************************************************************\
* Qemu Simulation Framework (qsim) *
* Qsim is a modified version of the Qemu emulator (www.qemu.org), coupled *
* a C++ API, for the use of computer architecture researchers. *
* *
* This work is licensed under the terms of the GNU GPL, version 2. See the *
* COPYING file in the top-level directory. *
\*****************************************************************************/
#include "qsim-x86-regs.h"
#include "qsim-arm64-regs.h"
#include "qsim-arm-regs.h"
/*
union regs {
enum _x86_regs x86_regs;
enum _a64_regs a64_regs;
enum _arm_regs arm_regs;
regs& operator=(const _x86_regs& rhs);
regs& operator=(const _a64_regs& rhs);
regs& operator=(const _arm_regs& rhs);
regs(int i) { memset(this, i, sizeof(*this));}
};
*/
#endif