diff options
| author | Michael Meissner <gnu@the-meissners.org> | 1995-11-12 14:20:39 +0000 |
|---|---|---|
| committer | Michael Meissner <gnu@the-meissners.org> | 1995-11-12 14:20:39 +0000 |
| commit | 28816f45f574ca788dd4e05b8ee7a140e01f3d84 (patch) | |
| tree | ae6525ea117a94aa6fa239a43eb8633513158742 /sim/ppc/psim.c | |
| parent | c05c182dd679dd98f39e59fd567f767c679fa13f (diff) | |
| download | ppe42-binutils-28816f45f574ca788dd4e05b8ee7a140e01f3d84.tar.gz ppe42-binutils-28816f45f574ca788dd4e05b8ee7a140e01f3d84.zip | |
Add support for setting model name and other things
Diffstat (limited to 'sim/ppc/psim.c')
| -rw-r--r-- | sim/ppc/psim.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sim/ppc/psim.c b/sim/ppc/psim.c index b696ab04dc..89a9fff44b 100644 --- a/sim/ppc/psim.c +++ b/sim/ppc/psim.c @@ -98,6 +98,7 @@ int current_environment; int current_alignment; int current_floating_point; ppc_model current_ppc_model = WITH_DEFAULT_PPC_MODEL; +model_enum current_model = WITH_DEFAULT_MODEL; /* create a device tree from the image */ @@ -653,6 +654,8 @@ run_until_stop(psim *system, instruction, cia, cache_entry); + + mon_event(mon_event_icache_miss, processor, cia); cache_entry->address = cia; cache_entry->semantic = semantic; cia = semantic(processor, cache_entry, cia); @@ -746,6 +749,8 @@ run_until_stop(psim *system, instruction, cia, cache_entry); + + mon_event(mon_event_icache_miss, system->processors[current_cpu], cia); cache_entry->address = cia; cache_entry->semantic = semantic; cpu_set_program_counter(processor, |

