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 82290f6..a89f7b9 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 "function_unit.h"
/* typedef struct _cpu cpu;
@@ -176,6 +177,9 @@ INLINE_CPU registers *cpu_registers
INLINE_CPU void cpu_synchronize_context
(cpu *processor);
+INLINE_CPU function_unit *cpu_function_unit
+(cpu *processor);
+
#define IS_PROBLEM_STATE(PROCESSOR) \
(CURRENT_ENVIRONMENT == OPERATING_ENVIRONMENT \
? (cpu_registers(PROCESSOR)->msr & msr_problem_state) \