2021-04-04 21:04:12 +01:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <cstdint>
|
2021-05-31 01:01:14 +01:00
|
|
|
|
2021-04-04 21:04:12 +01:00
|
|
|
#include "MemorySegment.hpp"
|
|
|
|
|
|
2021-05-31 01:01:14 +01:00
|
|
|
namespace Bloom::Targets::TargetDescription
|
2021-04-04 21:04:12 +01:00
|
|
|
{
|
2021-05-31 01:01:14 +01:00
|
|
|
struct AddressSpace
|
|
|
|
|
{
|
2021-04-04 21:04:12 +01:00
|
|
|
std::string id;
|
|
|
|
|
std::string name;
|
|
|
|
|
std::uint16_t startAddress;
|
|
|
|
|
std::uint16_t size;
|
|
|
|
|
bool littleEndian = true;
|
|
|
|
|
std::map<MemorySegmentType, std::map<std::string, MemorySegment>> memorySegmentsByTypeAndName;
|
|
|
|
|
};
|
|
|
|
|
}
|