From 73c4941b23b9c660bb9bc4bb7acf3ea253356c41 Mon Sep 17 00:00:00 2001 From: Michael Meissner Date: Wed, 8 Nov 1995 18:57:06 +0000 Subject: first stage in function unit support; add new switches & latest code from andrew --- sim/ppc/cpu.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sim/ppc/cpu.h') 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) \ -- cgit v1.1