summaryrefslogtreecommitdiff
path: root/src/arch/x86/pagetable_walker.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86/pagetable_walker.cc')
-rw-r--r--src/arch/x86/pagetable_walker.cc9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/arch/x86/pagetable_walker.cc b/src/arch/x86/pagetable_walker.cc
index c07af0c83..9e1d08c7b 100644
--- a/src/arch/x86/pagetable_walker.cc
+++ b/src/arch/x86/pagetable_walker.cc
@@ -492,7 +492,7 @@ Walker::WalkerState::stepWalk(PacketPtr &write)
flags.set(Request::UNCACHEABLE, uncacheable);
RequestPtr request =
new Request(nextRead, oldRead->getSize(), flags, walker->masterId);
- read = new Packet(request, MemCmd::ReadReq, Packet::Broadcast);
+ read = new Packet(request, MemCmd::ReadReq);
read->allocate();
// If we need to write, adjust the read packet to write the modified
// value back to memory.
@@ -500,7 +500,7 @@ Walker::WalkerState::stepWalk(PacketPtr &write)
write = oldRead;
write->set<uint64_t>(pte);
write->cmd = MemCmd::WriteReq;
- write->setDest(Packet::Broadcast);
+ write->clearDest();
} else {
write = NULL;
delete oldRead->req;
@@ -561,8 +561,9 @@ Walker::WalkerState::setupWalk(Addr vaddr)
Request::Flags flags = Request::PHYSICAL;
if (cr3.pcd)
flags.set(Request::UNCACHEABLE);
- RequestPtr request = new Request(topAddr, dataSize, flags, walker->masterId);
- read = new Packet(request, MemCmd::ReadReq, Packet::Broadcast);
+ RequestPtr request = new Request(topAddr, dataSize, flags,
+ walker->masterId);
+ read = new Packet(request, MemCmd::ReadReq);
read->allocate();
}