24 lines
712 B
C++
24 lines
712 B
C++
#pragma once
|
|
|
|
#include "src/Targets/TargetDescription/TargetDescriptionFile.hpp"
|
|
|
|
#include "IsaDescriptor.hpp"
|
|
|
|
namespace Targets::RiscV
|
|
{
|
|
/**
|
|
* Represents an RISC-V TDF.
|
|
*
|
|
* For more information of TDFs, see src/Targets/TargetDescription/README.md
|
|
*/
|
|
class TargetDescriptionFile: public Targets::TargetDescription::TargetDescriptionFile
|
|
{
|
|
public:
|
|
explicit TargetDescriptionFile(const std::string& xmlFilePath);
|
|
|
|
[[nodiscard]] const TargetDescription::AddressSpace& getSystemAddressSpace() const;
|
|
[[nodiscard]] TargetAddressSpaceDescriptor getSystemAddressSpaceDescriptor() const;
|
|
[[nodiscard]] IsaDescriptor getIsaDescriptor() const;
|
|
};
|
|
}
|