diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-11-09 00:04:57 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2001-11-09 00:04:57 +0000 |
commit | e9ae97fbc6221ffb11b1ce14f6fc320dc602b686 (patch) | |
tree | d3143d5a2ee19ac375731e462a59cca3339182fc /c/src/lib/libbsp/powerpc/support/old_exception_processing | |
parent | 2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se> (diff) | |
download | rtems-e9ae97fbc6221ffb11b1ce14f6fc320dc602b686.tar.bz2 |
2001-11-08 Dennis Ehlin (ECS) <Dennis.Ehlin@ecs.ericsson.se>
This modification is part of the submitted modifications necessary to
support the IBM PPC405 family. This submission was reviewed by
Thomas Doerfler <Thomas.Doerfler@imd-systems.de> who ensured it did
not negatively impact the ppc403 BSPs. The submission and tracking
process was captured as PR50.
* ppc403/console/console405.c ppc403/tty_drv/.cvsignore,
ppc403/tty_drv/Makefile.am, ppc403/tty_drv/tty_drv.c,
ppc403/tty_drv/tty_drv.h: New files.
* Makefile.am, README, configure.ac, old_exception_processing/cpu.c,
old_exception_processing/cpu.h, ppc403/Makefile.am,
ppc403/clock/clock.c, ppc403/console/Makefile.am,
ppc403/console/console.c, ppc403/ictrl/ictrl.c, ppc403/ictrl/ictrl.h,
ppc403/timer/timer.c: Modified.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c | 4 | ||||
-rw-r--r-- | c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c b/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c index 5771b5f7cd..1d6845cb69 100644 --- a/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c +++ b/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.c @@ -366,7 +366,7 @@ static void ppc_spurious(int v, CPU_Interrupt_frame *i) printf("Spurious interrupt on vector %d from %08.8x\n", v, i->pc); #endif -#ifdef ppc403 +#if defined(ppc403) || defined(ppc405) if (v == PPC_IRQ_EXTERNAL) { register int r = 0; @@ -627,7 +627,7 @@ unsigned32 ppc_exception_vector_addr( Offset = 0x00e00; break; -#if defined(ppc403) +#if defined(ppc403) || defined(ppc405) /* PPC_IRQ_CRIT is the same vector as PPC_IRQ_RESET case PPC_IRQ_CRIT: diff --git a/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h b/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h index 803377b99f..935f4ca0d3 100644 --- a/c/src/lib/libbsp/powerpc/support/old_exception_processing/cpu.h +++ b/c/src/lib/libbsp/powerpc/support/old_exception_processing/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) || defined(mpc860) || defined(mpc821)) +#if (defined(ppc403) || defined(ppc405) || defined(mpc860) || defined(mpc821)) unsigned32 serial_per_sec; /* Serial clocks per second */ boolean serial_external_clock; boolean serial_xon_xoff; @@ -508,7 +508,7 @@ typedef struct { #define rtems_cpu_configuration_get_exceptions_in_ram() \ (_CPU_Table.exceptions_in_RAM) -#if (defined(ppc403) || defined(mpc860) || defined(mpc821)) +#if (defined(ppc403) || defined(ppc405) || defined(mpc860) || defined(mpc821)) #define rtems_cpu_configuration_get_serial_per_sec() \ (_CPU_Table.serial_per_sec) |