mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-24 10:18:09 +00:00
c658126845
Moves the struct back into qemu's headers
31 lines
573 B
C
31 lines
573 B
C
/* By Dang Hoang Vu <dang.hvu -at- gmail.com>, 2015 */
|
|
|
|
#ifndef UC_QEMU_H
|
|
#define UC_QEMU_H
|
|
|
|
struct uc_struct;
|
|
|
|
#define OPC_BUF_SIZE 640
|
|
|
|
#include "sysemu/sysemu.h"
|
|
#include "sysemu/cpus.h"
|
|
#include "exec/cpu-common.h"
|
|
#include "exec/memory.h"
|
|
|
|
#include "qemu/thread.h"
|
|
#include "include/qom/cpu.h"
|
|
|
|
#include "vl.h"
|
|
|
|
// This struct was originally from qemu/include/exec/cpu-all.h
|
|
// Temporarily moved here since there is circular inclusion.
|
|
|
|
typedef struct {
|
|
MemoryRegion *mr;
|
|
void *buffer;
|
|
hwaddr addr;
|
|
hwaddr len;
|
|
bool in_use;
|
|
} BounceBuffer;
|
|
|
|
#endif
|