From df012f26fa9797896e3f571c81d336bec0a97b98 Mon Sep 17 00:00:00 2001 From: Ron Dreslinski Date: Wed, 16 Mar 2005 10:30:33 -0500 Subject: Fix the bad addr check to check for allowable addresses in the nxm address space arch/alpha/alpha_tru64_process.cc: sim/process.cc: sim/process.hh: Add an address range for the nxm sim/syscall_emul.hh: Check to make sure that if we have an nxm config space that the mmap hasn't grown into it --HG-- extra : convert_revision : e479e5240080ae488080d228bafea488835d6e77 --- arch/alpha/alpha_tru64_process.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/alpha') diff --git a/arch/alpha/alpha_tru64_process.cc b/arch/alpha/alpha_tru64_process.cc index 22e74cb40..8660cc5c5 100644 --- a/arch/alpha/alpha_tru64_process.cc +++ b/arch/alpha/alpha_tru64_process.cc @@ -877,6 +877,10 @@ class Tru64 { *configptr_ptr = config_addr; configptr_ptr.copyOut(xc->mem); + // Register this as a valid address range with the process + process->nxm_start = base_addr; + process->nxm_end = cur_addr; + return 0; } -- cgit v1.2.3