Skip to content

Commit

Permalink
fix(mmu): replace unknown whitespace characters (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
poemonsense authored Dec 31, 2024
1 parent 2db991e commit d11aa31
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions riscv/mmu.cc
Original file line number Diff line number Diff line change
Expand Up @@ -333,10 +333,10 @@ void mmu_t::store_slow_path(reg_t original_addr, reg_t len, const uint8_t* bytes
reg_t len_page0 = std::min(len, PGSIZE - transformed_addr % PGSIZE);

#if defined(DIFFTEST) && defined(CPU_XIANGSHAN)
    if (len_page0 != len){
      store_slow_path_intrapage(len_page0, bytes, access_info, false);
      store_slow_path_intrapage(len - len_page0, bytes + len_page0, access_info.split_misaligned_access(len_page0), false);
    }
if (len_page0 != len) {
store_slow_path_intrapage(len_page0, bytes, access_info, false);
store_slow_path_intrapage(len - len_page0, bytes + len_page0, access_info.split_misaligned_access(len_page0), false);
}
#endif // defined(DIFFTEST) && defined(CPU_XIANGSHAN)

store_slow_path_intrapage(len_page0, bytes, access_info, actually_store);
Expand Down

0 comments on commit d11aa31

Please sign in to comment.