summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu/powerpc/cpu.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-18 15:09:27 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-18 15:09:27 +0000
commit4ef40152f3721981be60068bff0946d724bd73ed (patch)
treec574f68e1510ce29442c36d99c5a65fea33f4eac /c/src/exec/score/cpu/powerpc/cpu.h
parentJay Monkman <jmonkman@frasca.com> submitted the eth_comm BSP for a PPC860 (diff)
downloadrtems-4ef40152f3721981be60068bff0946d724bd73ed.tar.bz2
MPC860 support submitted by Jay Monkman <jmonkman@frasca.com>.
Diffstat (limited to 'c/src/exec/score/cpu/powerpc/cpu.h')
-rw-r--r--c/src/exec/score/cpu/powerpc/cpu.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/powerpc/cpu.h b/c/src/exec/score/cpu/powerpc/cpu.h
index 1240f68451..42d1b59bcd 100644
--- a/c/src/exec/score/cpu/powerpc/cpu.h
+++ b/c/src/exec/score/cpu/powerpc/cpu.h
@@ -474,7 +474,7 @@ typedef struct {
void (*spurious_handler)(unsigned32 vector, CPU_Interrupt_frame *);
boolean exceptions_in_RAM; /* TRUE if in RAM */
-#if defined(ppc403)
+#if (defined(ppc403) || defined(mpc860))
unsigned32 serial_per_sec; /* Serial clocks per second */
boolean serial_external_clock;
boolean serial_xon_xoff;
@@ -484,6 +484,10 @@ typedef struct {
unsigned32 timer_least_valid; /* Least valid number from timer */
boolean timer_internal_clock; /* TRUE, when timer runs with CPU clk */
#endif
+
+#if (defined(mpc860))
+ unsigned32 clock_speed; /* Speed of CPU in Hz */
+#endif
} rtems_cpu_table;
/*