mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-20 20:23:57 +00:00
17 lines
316 B
C++
17 lines
316 B
C++
#pragma once
|
|
#include "memory_permission.hpp"
|
|
#include <cstddef>
|
|
|
|
template <typename PermissionType = memory_permission>
|
|
struct basic_memory_region
|
|
{
|
|
uint64_t start{};
|
|
size_t length{}; // uint64_t?
|
|
PermissionType permissions{};
|
|
};
|
|
|
|
struct memory_region : basic_memory_region<>
|
|
{
|
|
bool committed{};
|
|
};
|