aboutsummaryrefslogtreecommitdiff
path: root/qtmips_machine/machinedefs.h
diff options
context:
space:
mode:
authorPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-08 20:40:08 +0100
committerPavel Pisa <pisa@cmp.felk.cvut.cz>2019-02-08 20:40:08 +0100
commit737fc7e309ff02c4bb02568fec82cb8215d7bb99 (patch)
tree57e0c4fe8d64774f5b1c36f88b15ff08bdf54fd5 /qtmips_machine/machinedefs.h
parentc22e9cb1e18f35d02eb76b4f03a319a673168285 (diff)
downloadqtmips-737fc7e309ff02c4bb02568fec82cb8215d7bb99.tar.gz
qtmips-737fc7e309ff02c4bb02568fec82cb8215d7bb99.tar.bz2
qtmips-737fc7e309ff02c4bb02568fec82cb8215d7bb99.zip
Minimal implementation of RDHWR to support dummy TLS region.
Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
Diffstat (limited to 'qtmips_machine/machinedefs.h')
-rw-r--r--qtmips_machine/machinedefs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/qtmips_machine/machinedefs.h b/qtmips_machine/machinedefs.h
index 5e8acd6..05bf103 100644
--- a/qtmips_machine/machinedefs.h
+++ b/qtmips_machine/machinedefs.h
@@ -91,6 +91,7 @@ enum AluOp : std::uint8_t {
ALU_OP_PASS_T, // Pass t argument without change for JAL
ALU_OP_BREAK,
ALU_OP_SYSCALL,
+ ALU_OP_RDHWR,
ALU_OP_UNKNOWN,
ALU_OP_LAST // First impossible operation (just to be sure that we don't overflow)
};