Switched to using underlying RegisterNumber type for RISC-V register numbers

This commit is contained in:
Nav
2023-11-23 23:31:13 +00:00
parent c0531a00da
commit 3908ad6848
5 changed files with 25 additions and 12 deletions

View File

@@ -2,11 +2,10 @@
#include <cstdint>
#include "Registers/RegisterNumbers.hpp"
namespace Targets::RiscV
{
using RegisterValue = std::uint32_t;
using RegisterNumber = std::uint16_t;
enum class PrivilegeMode: std::uint8_t
{