Skip to content

Commit 605c236

Browse files
committed
changes mstatus default value for 64 bits to implement UXL and SXL reads
1 parent 0f4bb16 commit 605c236

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/iss/arch/mstatus.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ template <typename T> class hart_state<T, typename std::enable_if<std::is_same<T
238238

239239
mstatus_t mstatus;
240240

241-
static const T mstatus_reset_val = 0x1800;
241+
static const T mstatus_reset_val = 0x500001800;
242242
};
243243
} // namespace arch
244244
} // namespace iss

0 commit comments

Comments
 (0)