mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-19 03:33:56 +00:00
12 lines
529 B
C++
12 lines
529 B
C++
#pragma once
|
|
|
|
#include "mapped_module.hpp"
|
|
#include "../memory_manager.hpp"
|
|
|
|
mapped_module map_module_from_data(memory_manager& memory, std::span<const uint8_t> data, std::filesystem::path file);
|
|
mapped_module map_module_from_file(memory_manager& memory, std::filesystem::path file);
|
|
mapped_module map_module_from_memory(memory_manager& memory, uint64_t base_address, uint64_t image_size,
|
|
const std::string& module_name);
|
|
|
|
bool unmap_module(memory_manager& memory, const mapped_module& mod);
|