remote_gdb.cc (3961:42374ae36922) | remote_gdb.cc (4172:141705d83494) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 173 unchanged lines hidden (view full) --- 182 * are valid since there isn't a va->pa mapping because palcode is 183 * accessed physically. At some point this should probably be cleaned up 184 * but there is no easy way to do it. 185 */ 186 187 if (AlphaISA::PcPAL(va) || va < 0x10000) 188 return true; 189 | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 173 unchanged lines hidden (view full) --- 182 * are valid since there isn't a va->pa mapping because palcode is 183 * accessed physically. At some point this should probably be cleaned up 184 * but there is no easy way to do it. 185 */ 186 187 if (AlphaISA::PcPAL(va) || va < 0x10000) 188 return true; 189 |
190 Addr ptbr = context->readMiscReg(AlphaISA::IPR_PALtemp20); | 190 Addr ptbr = context->readMiscRegNoEffect(AlphaISA::IPR_PALtemp20); |
191 TheISA::PageTableEntry pte = TheISA::kernel_pte_lookup(context->getPhysPort(), ptbr, va); 192 if (!pte.valid()) { 193 DPRINTF(GDBAcc, "acc: %#x pte is invalid\n", va); 194 return false; 195 } 196 va += TheISA::PageBytes; 197 } while (va < last_va); 198 --- 119 unchanged lines hidden --- | 191 TheISA::PageTableEntry pte = TheISA::kernel_pte_lookup(context->getPhysPort(), ptbr, va); 192 if (!pte.valid()) { 193 DPRINTF(GDBAcc, "acc: %#x pte is invalid\n", va); 194 return false; 195 } 196 va += TheISA::PageBytes; 197 } while (va < last_va); 198 --- 119 unchanged lines hidden --- |