diff options
author | Michael Meissner <gnu@the-meissners.org> | 1995-11-08 18:57:06 +0000 |
---|---|---|
committer | Michael Meissner <gnu@the-meissners.org> | 1995-11-08 18:57:06 +0000 |
commit | 73c4941b23b9c660bb9bc4bb7acf3ea253356c41 (patch) | |
tree | da13e65308de8337364ccbc1dde964aa60b93609 /sim/ppc/cpu.h | |
parent | 0634a431423265b525681625d2796346428c53b0 (diff) | |
download | gdb-73c4941b23b9c660bb9bc4bb7acf3ea253356c41.zip gdb-73c4941b23b9c660bb9bc4bb7acf3ea253356c41.tar.gz gdb-73c4941b23b9c660bb9bc4bb7acf3ea253356c41.tar.bz2 |
first stage in function unit support; add new switches & latest code from andrew
Diffstat (limited to 'sim/ppc/cpu.h')
-rw-r--r-- | sim/ppc/cpu.h | 4 |
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) \ |