Browse Source
Merge pull request #1547 from YenHaoChen/pr-sstateen
typo: correct sstateen CSR address
pull/1475/head
Andrew Waterman
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
riscv/processor.cc
|
|
|
@ -504,7 +504,7 @@ void state_t::reset(processor_t* const proc, reg_t max_isa) |
|
|
|
} |
|
|
|
|
|
|
|
const reg_t sstateen_mask = i == 0 ? sstateen0_mask : 0; |
|
|
|
csrmap[CSR_SSTATEEN0 + i] = sstateen[i] = std::make_shared<sstateen_csr_t>(proc, CSR_HSTATEEN0 + i, sstateen_mask, 0, i); |
|
|
|
csrmap[CSR_SSTATEEN0 + i] = sstateen[i] = std::make_shared<sstateen_csr_t>(proc, CSR_SSTATEEN0 + i, sstateen_mask, 0, i); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|