Skip to content

Commit

Permalink
fix(mem_log): disable cross-page log by default (#735)
Browse files Browse the repository at this point in the history
  • Loading branch information
eastonman authored Dec 24, 2024
1 parent 62f6dc0 commit b80c37a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memory/vaddr.c
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ static void vaddr_write_cross_page(vaddr_t addr, int len, word_t data, bool need
word_t cur_pg_st_data = data & cur_pg_st_mask;
word_t next_pg_st_data = data >> (cur_pg_st_len << 3);
if (needTranslate) {
Log("vaddr_write_cross_page!");
Logm("vaddr_write_cross_page!");
// make sure no page fault or access fault before real write
bool cur_pg_st_exp = false;
bool next_pg_st_exp = false;
Expand Down

0 comments on commit b80c37a

Please sign in to comment.