aboutsummaryrefslogtreecommitdiff
path: root/sim/ppc/cpu.h
diff options
context:
space:
mode:
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) \