Massive refactor to accommodate RISC-V targets
- Refactored entire codebase (excluding the Insight component) to accommodate multiple target architectures (no longer specific to AVR) - Deleted 'generate SVD' GDB monitor command - I will eventually move this functionality to the Bloom website - Added unit size property to address spaces - Many other changes which I couldn't be bothered to describe here
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include <cstdint>
|
||||
#include <map>
|
||||
|
||||
#include "TargetAddressSpaceDescriptor.hpp"
|
||||
#include "TargetMemory.hpp"
|
||||
|
||||
namespace Targets
|
||||
@@ -10,7 +11,7 @@ namespace Targets
|
||||
class TargetMemoryCache
|
||||
{
|
||||
public:
|
||||
TargetMemoryCache(const TargetMemoryDescriptor& memoryDescriptor);
|
||||
TargetMemoryCache(const TargetAddressSpaceDescriptor& addressSpaceDescriptor);
|
||||
|
||||
/**
|
||||
* Fetches data from the cache.
|
||||
@@ -46,7 +47,7 @@ namespace Targets
|
||||
void clear();
|
||||
|
||||
private:
|
||||
const TargetMemoryDescriptor& memoryDescriptor;
|
||||
const TargetAddressSpaceDescriptor& addressSpaceDescriptor;
|
||||
TargetMemoryBuffer data;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user