RISC-V hart selection
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <cstdint>
|
||||
#include <set>
|
||||
|
||||
#include "src/Targets/Target.hpp"
|
||||
#include "src/DebugToolDrivers/DebugTool.hpp"
|
||||
@@ -91,6 +92,11 @@ namespace Targets::RiscV
|
||||
DebugToolDrivers::TargetInterfaces::RiscV::RiscVDebugInterface* riscVDebugInterface = nullptr;
|
||||
std::string name;
|
||||
|
||||
std::set<DebugModule::HartIndex> hartIndices;
|
||||
DebugModule::HartIndex selectedHartIndex = 0;
|
||||
|
||||
void discoverHartIndices();
|
||||
|
||||
DebugModule::Registers::ControlRegister readControlRegister();
|
||||
DebugModule::Registers::StatusRegister readStatusRegister();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user