aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/cpu.h
diff options
context:
space:
mode:
authorMichael Meissner <gnu@the-meissners.org>1995-11-15 22:53:59 +0000
committerMichael Meissner <gnu@the-meissners.org>1995-11-15 22:53:59 +0000
commit80948f392bb653cb29514db15c176d218c2f4c2d (patch)
treeda9dd97251521aeadc9bc8ffe7623d6510da898c /sim/ppc/cpu.h
parent1b09c02b1788bb88abd2e325f82600018290dbb3 (diff)
downloadgdb-80948f392bb653cb29514db15c176d218c2f4c2d.zip
gdb-80948f392bb653cb29514db15c176d218c2f4c2d.tar.gz
gdb-80948f392bb653cb29514db15c176d218c2f4c2d.tar.bz2
More model specific changes
Diffstat (limited to 'sim/ppc/cpu.h')
-rw-r--r--sim/ppc/cpu.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/ppc/cpu.h b/sim/ppc/cpu.h
index a89f7b9..b66cffd 100644
--- a/sim/ppc/cpu.h
+++ b/sim/ppc/cpu.h
@@ -37,6 +37,7 @@
#include "icache.h"
#include "itable.h"
#include "mon.h"
+#include "model.h"
#include "function_unit.h"
@@ -180,6 +181,9 @@ INLINE_CPU void cpu_synchronize_context
INLINE_CPU function_unit *cpu_function_unit
(cpu *processor);
+INLINE_CPU model_data *cpu_model
+(cpu *processor);
+
#define IS_PROBLEM_STATE(PROCESSOR) \
(CURRENT_ENVIRONMENT == OPERATING_ENVIRONMENT \
? (cpu_registers(PROCESSOR)->msr & msr_problem_state) \