summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/powerpc/support/new_exception_processing
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-06 15:54:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>2001-04-06 15:54:20 +0000
commit37731c2bd860f043ef96e20cfd8f58c6823689e9 (patch)
treea6c410199205100ee68e5dd55185ef7d5c2a2c09 /c/src/lib/libbsp/powerpc/support/new_exception_processing
parent2001-03-30 Eric Valette <valette@crf.canon.fr> (diff)
downloadrtems-37731c2bd860f043ef96e20cfd8f58c6823689e9.tar.bz2
2001-03-30 Eric Valette <valette@crf.canon.fr>
* mpc8xx/exceptions/.cvsignore, mpc8xx/exceptions/Makefile.am, mpc8xx/exceptions/asm_utils.S, mpc8xx/exceptions/raw_exception.c, mpc8xx/exceptions/raw_exception.h: New files. * configure.in, mpc6xx/mmu/bat.h, mpc8xx/Makefile.am, mpc8xx/clock/clock.c, mpc8xx/console-generic/console-generic.c, mpc8xx/include/mpc8xx.h, mpc8xx/mmu/mmu.c, new_exception_processing/cpu.h, shared/include/byteorder.h, wrapup/Makefile.am: This is conversion of the mpc8xx CPU to the "new exception processing model."
Diffstat (limited to 'c/src/lib/libbsp/powerpc/support/new_exception_processing')
-rw-r--r--c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h b/c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h
index 303c882740..e54f7fc14e 100644
--- a/c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h
+++ b/c/src/lib/libbsp/powerpc/support/new_exception_processing/cpu.h
@@ -440,6 +440,20 @@ typedef struct {
unsigned32 clicks_per_usec; /* Timer clicks per microsecond */
boolean exceptions_in_RAM; /* TRUE if in RAM */
+#if (defined(ppc403) || defined(mpc860) || defined(mpc821))
+ unsigned32 serial_per_sec; /* Serial clocks per second */
+ boolean serial_external_clock;
+ boolean serial_xon_xoff;
+ boolean serial_cts_rts;
+ unsigned32 serial_rate;
+ unsigned32 timer_average_overhead; /* Average overhead of timer in ticks */
+ unsigned32 timer_least_valid; /* Least valid number from timer */
+ boolean timer_internal_clock; /* TRUE, when timer runs with CPU clk */
+#endif
+
+#if (defined(mpc860) || defined(mpc821))
+ unsigned32 clock_speed; /* Speed of CPU in Hz */
+#endif
} rtems_cpu_table;
/*