From 9984412671f2658988217d9745925da019e401a3 Mon Sep 17 00:00:00 2001 From: Andrew Schultz Date: Sun, 15 Feb 2004 16:33:16 -0500 Subject: Fix bug with physical address translation --HG-- extra : convert_revision : 2bfc338decdceaaf57f4a391b93882a8e0715a56 --- arch/alpha/alpha_memory.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/alpha/alpha_memory.cc b/arch/alpha/alpha_memory.cc index 00e97250f..401dc21ec 100644 --- a/arch/alpha/alpha_memory.cc +++ b/arch/alpha/alpha_memory.cc @@ -455,7 +455,7 @@ AlphaDtb::translate(MemReqPtr &req, bool write) const } // verify that this is a good virtual address - if (!validVirtualAddress(req->vaddr)) { + if (!(req->flags & PHYSICAL) && !validVirtualAddress(req->vaddr)) { fault(req->vaddr, ((write ? MM_STAT_WR_MASK : 0) | MM_STAT_BAD_VA_MASK | MM_STAT_ACV_MASK), -- cgit v1.2.3