diff options
Diffstat (limited to 'qtmips_machine/machinedefs.h')
-rw-r--r-- | qtmips_machine/machinedefs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qtmips_machine/machinedefs.h b/qtmips_machine/machinedefs.h index 7d21f69..2bf0556 100644 --- a/qtmips_machine/machinedefs.h +++ b/qtmips_machine/machinedefs.h @@ -93,6 +93,14 @@ enum AluOp : std::uint8_t { ALU_OP_LAST // First impossible operation (just to be sure that we don't overflow) }; +enum LocationStatus { + LOCSTAT_NONE = 0, + LOCSTAT_CACHED = 1 << 0, + LOCSTAT_DIRTY = 1 << 1, + LOCSTAT_READ_ONLY = 1 << 2, + LOCSTAT_ILLEGAL = 1 << 3, +}; + } #endif // MACHINEDEFS_H |