diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-09 15:37:46 -0400 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-05-09 15:37:46 -0400 |
commit | 37b45e3c8cb2aef57e1d5dd8efd46705b8d46c16 (patch) | |
tree | 6a4d803e04308139788ee55db97bb37b743ab492 /src/cpu | |
parent | a38c79ec22918b02c529c930827e64e440984d29 (diff) | |
download | gem5-37b45e3c8cb2aef57e1d5dd8efd46705b8d46c16.tar.xz |
fix the translating ports so it can add a page on a fault
--HG--
extra : convert_revision : 56f6f2cbf4e92b7f2dd8c9453831fab86d83ef80
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/thread_state.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cpu/thread_state.cc b/src/cpu/thread_state.cc index 4b65ca4b8..be8f822f2 100644 --- a/src/cpu/thread_state.cc +++ b/src/cpu/thread_state.cc @@ -169,9 +169,8 @@ ThreadState::getMemPort() return port; /* Use this port to for syscall emulation writes to memory. */ - port = new TranslatingPort(csprintf("%s-%d-funcport", - baseCpu->name(), tid), - process->pTable, false); + port = new TranslatingPort(csprintf("%s-%d-funcport", baseCpu->name(), tid), + process, TranslatingPort::NextPage); connectToMemFunc(port); |