fix the translating ports so it can add a page on a fault
--HG-- extra : convert_revision : 56f6f2cbf4e92b7f2dd8c9453831fab86d83ef80
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user