memory_env.h

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
#ifndef MEMORY_ENV_H
#define MEMORY_ENV_H

#include <iostream>

struct MemoryBlock {
    int64_t blockId;          // Memory block index
    size_t blockSize;         // Memory block size
    void *address = nullptr;  // Physical memory address
};

#endif