Skip to content

Commit

Permalink
cpu-o3: fix gem5.fast compilation
Browse files Browse the repository at this point in the history
Change-Id: If865d0a45c2d467f374a70523c2806ccb4b5c51e
  • Loading branch information
eastonman committed Aug 14, 2024
1 parent 1f76362 commit fc246ea
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/cpu/golden_global_mem.cc
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ GoldenGloablMem::pmemRead(uint64_t addr, int len)
return *(uint64_t *)p;
default:
assert(0);
return 0;
}
}

Expand All @@ -125,6 +126,7 @@ GoldenGloablMem::pmemWrite(Addr addr, uint64_t data, int len)
return;
default:
assert(0);
return;
}
}

Expand Down

0 comments on commit fc246ea

Please sign in to comment.