Introduced a generic target description file class with an AVR8 derivation. Moved AVR8 target description files
19 lines
400 B
C++
19 lines
400 B
C++
#pragma once
|
|
|
|
#include <cstdint>
|
|
|
|
#include "MemorySegment.hpp"
|
|
|
|
namespace Bloom::Targets::TargetDescription
|
|
{
|
|
struct AddressSpace
|
|
{
|
|
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;
|
|
};
|
|
}
|