mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-25 20:45:39 +00:00
c658126845
Moves the struct back into qemu's headers
19 lines
405 B
C
19 lines
405 B
C
#ifndef RAMLIST_H
|
|
#define RAMLIST_H
|
|
|
|
#include "qemu/queue.h"
|
|
#include "qemu/thread.h"
|
|
|
|
#define DIRTY_MEMORY_CODE 0
|
|
#define DIRTY_MEMORY_NUM 1 /* num of dirty bits */
|
|
|
|
typedef struct RAMList {
|
|
/* Protected by the iothread lock. */
|
|
unsigned long *dirty_memory[DIRTY_MEMORY_NUM];
|
|
RAMBlock *mru_block;
|
|
QLIST_HEAD(, RAMBlock) blocks;
|
|
uint32_t version;
|
|
} RAMList;
|
|
|
|
#endif
|