From 0916bef42e28218b08b05342d5b571b8a45afb5a Mon Sep 17 00:00:00 2001 From: Pavel Pisa Date: Thu, 14 Feb 2019 00:41:06 +0100 Subject: Implement function to setup core C0 userlocal register. Signed-off-by: Pavel Pisa --- qtmips_machine/core.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'qtmips_machine/core.h') diff --git a/qtmips_machine/core.h b/qtmips_machine/core.h index 97a15c1..889a30c 100644 --- a/qtmips_machine/core.h +++ b/qtmips_machine/core.h @@ -85,6 +85,8 @@ public: void remove_hwbreak(std::uint32_t address); bool is_hwbreak(std::uint32_t address); + void set_c0_userlocal(std::uint32_t address); + enum ForwardFrom { FORWARD_NONE = 0b00, FORWARD_FROM_W = 0b01, @@ -247,7 +249,7 @@ private: }; unsigned int cycle_c; unsigned int min_cache_row_size; - std::uint32_t hwr_user_local; + std::uint32_t hwr_userlocal; QMap hw_breaks; }; -- cgit v1.2.3