X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sim%2Farm%2Farmvirt.c;h=4f95ed838f6854a8061b60273b0f3e3145d2d8af;hb=85e290dc1252d77e726c0892b197be449b34bd16;hp=d0e36f2c68e41c72ae0867d535f8c9c67a4c7c6e;hpb=3fd725ef34e474e36bf2bea93a770589c69ee1e6;p=deliverable%2Fbinutils-gdb.git diff --git a/sim/arm/armvirt.c b/sim/arm/armvirt.c index d0e36f2c68..4f95ed838f 100644 --- a/sim/arm/armvirt.c +++ b/sim/arm/armvirt.c @@ -1,29 +1,27 @@ /* armvirt.c -- ARMulator virtual memory interace: ARM6 Instruction Emulator. Copyright (C) 1994 Advanced RISC Machines Ltd. - + This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ + along with this program; if not, see . */ /* This file contains a complete ARMulator memory model, modelling a -"virtual memory" system. A much simpler model can be found in armfast.c, -and that model goes faster too, but has a fixed amount of memory. This -model's memory has 64K pages, allocated on demand from a 64K entry page -table. The routines PutWord and GetWord implement this. Pages are never -freed as they might be needed again. A single area of memory may be -defined to generate aborts. */ - -#include "armopts.h" + "virtual memory" system. A much simpler model can be found in armfast.c, + and that model goes faster too, but has a fixed amount of memory. This + model's memory has 64K pages, allocated on demand from a 64K entry page + table. The routines PutWord and GetWord implement this. Pages are never + freed as they might be needed again. A single area of memory may be + defined to generate aborts. */ + #include "armos.h" #include "armdefs.h" #include "ansidecl.h" @@ -218,13 +216,6 @@ ARMword ARMul_LoadInstrS (ARMul_State * state, ARMword address, ARMword isize) { state->NumScycles++; -#ifdef HOURGLASS - if ((state->NumScycles & HOURGLASS_RATE) == 0) - { - HOURGLASS; - } -#endif - return ARMul_ReLoadInstr (state, address, isize); }