mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-26 09:55:36 +00:00
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
|