Browse Source

Set U bit in misa register

pull/59/head
Andrew Waterman 10 years ago
parent
commit
5daafcde73
  1. 1
      riscv/processor.cc

1
riscv/processor.cc

@ -84,6 +84,7 @@ void processor_t::parse_isa_string(const char* str)
isa_string = "rv" + std::to_string(max_xlen) + p;
isa |= 1L << ('s' - 'a'); // advertise support for supervisor mode
isa |= 1L << ('u' - 'a'); // advertise support for user mode
while (*p) {
isa |= 1L << (*p - 'a');

Loading…
Cancel
Save