summaryrefslogtreecommitdiffstats
path: root/c
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2007-12-01 01:38:53 +0000
committerTill Straumann <strauman@slac.stanford.edu>2007-12-01 01:38:53 +0000
commitd8eb6c703efb5e245c67b0beb238338cfe802a6e (patch)
tree92265d153a199ba2d7f521ada953371316ea962a /c
parent2007-11-30 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-d8eb6c703efb5e245c67b0beb238338cfe802a6e.tar.bz2
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
Diffstat (limited to 'c')
-rw-r--r--c/src/lib/libbsp/powerpc/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c1
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c1
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c2
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/ChangeLog4
-rw-r--r--c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c5
-rw-r--r--c/src/lib/libbsp/powerpc/shared/startup/bspstart.c2
10 files changed, 20 insertions, 11 deletions
diff --git a/c/src/lib/libbsp/powerpc/ChangeLog b/c/src/lib/libbsp/powerpc/ChangeLog
index 676dbce0d6..1d32e1c5d2 100644
--- a/c/src/lib/libbsp/powerpc/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/ChangeLog
@@ -1,5 +1,9 @@
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
+ * shared/startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
+
+2007-11-30 Till Straumann <strauman@slac.stanford.edu>
+
* shared/startup/pretaskinghook.c: Replaced inclusion of
<bsp/consoleIo.h> by <rtems/bspIo.> (for printk) and
made it conditional on #ifdef SHOW_MORE_INIT_SETTINGS.
diff --git a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
index bace7cdc26..3950ba9efa 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/gen5200/ChangeLog
@@ -1,5 +1,9 @@
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
+ * startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
+
+2007-11-30 Till Straumann <strauman@slac.stanford.edu>
+
* irq/irq.h, irq/irq_init.c: Removed the definition
of ASM_IRQ_VECTOR_BASE; this symbol was only use to
initialize the irqBase member of the rtems_irq_global_settings
diff --git a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
index cf423547aa..e3b2a8a302 100644
--- a/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/gen5200/startup/bspstart.c
@@ -294,7 +294,6 @@ void bsp_start(void)
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
Cpu_table.predriver_hook = bsp_predriver_hook; /* init PCI / RTC ... */
Cpu_table.postdriver_hook = bsp_postdriver_hook;
- Cpu_table.exceptions_in_RAM = TRUE;
if( Cpu_table.interrupt_stack_size < 4*1024 )
Cpu_table.interrupt_stack_size = 4 * 1024;
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
index 459b9a865e..cb00238c87 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
@@ -1,5 +1,9 @@
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
+ * startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
+
+2007-11-30 Till Straumann <strauman@slac.stanford.edu>
+
* irq/irq.h, irq/irq_init.c: Removed the definition
of ASM_IRQ_VECTOR_BASE; this symbol was only use to
initialize the irqBase member of the rtems_irq_global_settings
diff --git a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
index 336288ae70..592abf9085 100644
--- a/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/gen83xx/startup/bspstart.c
@@ -210,7 +210,6 @@ void bsp_start(void)
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
Cpu_table.predriver_hook = bsp_predriver_hook; /* init PCI / RTC ... */
Cpu_table.postdriver_hook = bsp_postdriver_hook;
- Cpu_table.exceptions_in_RAM = TRUE;
if( Cpu_table.interrupt_stack_size < 4*1024 )
Cpu_table.interrupt_stack_size = 4 * 1024;
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog b/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog
index 7c553d7608..9797c8ab4b 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/mvme5500/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-30 Till Straumann <strauman@slac.stanford.edu>
+
+ * startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
+
2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
* irq/GT64260Int.c, network/if_100MHz/Makefile.am,
diff --git a/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c b/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c
index 0898460b7a..f719a9c327 100644
--- a/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/mvme5500/startup/bspstart.c
@@ -322,7 +322,6 @@ void bsp_start( void )
/*
* Initialize default raw exception hanlders. See vectors/vectors_init.c
*/
- Cpu_table.exceptions_in_RAM = TRUE;
initialize_exceptions();
/*
* Init MMU block address translation to enable hardware
@@ -388,7 +387,6 @@ void bsp_start( void )
Cpu_table.do_zero_of_workspace = TRUE;
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
/* P94 : 7455 TB/DECR is clocked by the system bus clock frequency */
- Cpu_table.exceptions_in_RAM = TRUE;
_CPU_Table = Cpu_table;/* S. Kate Feng <feng1@bnl.gov>, for rtems_bsp_delay() */
bsp_clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000);
diff --git a/c/src/lib/libbsp/powerpc/score603e/ChangeLog b/c/src/lib/libbsp/powerpc/score603e/ChangeLog
index 7642f87ea2..128a43bc7c 100644
--- a/c/src/lib/libbsp/powerpc/score603e/ChangeLog
+++ b/c/src/lib/libbsp/powerpc/score603e/ChangeLog
@@ -1,4 +1,8 @@
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
+
+ * startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
+
+2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* vectors/vectors.S: Removed; this BSP now uses the shared
version.
diff --git a/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c b/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c
index 66fa562a88..fb6d4b330a 100644
--- a/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/score603e/startup/bspstart.c
@@ -261,21 +261,17 @@ void bsp_start( void )
*A_Vector = Code;
}
- Cpu_table.exceptions_in_RAM = TRUE;
msr_value = 0x2030;
#elif (SCORE603E_USE_OPEN_FIRMWARE)
- Cpu_table.exceptions_in_RAM = TRUE;
msr_value = 0x2030;
#elif (SCORE603E_USE_NONE)
- Cpu_table.exceptions_in_RAM = TRUE;
msr_value = 0x2030;
_CPU_MSR_SET( msr_value );
bsp_set_trap_vectors();
#elif (SCORE603E_USE_DINK)
- Cpu_table.exceptions_in_RAM = TRUE;
msr_value = 0x2030;
_CPU_MSR_SET( msr_value );
@@ -312,7 +308,6 @@ void bsp_start( void )
* initialize the CPU table for this BSP
*/
- /* Cpu_table.exceptions_in_RAM was set above */
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
Cpu_table.predriver_hook = bsp_predriver_hook; /* Init vectors */
Cpu_table.postdriver_hook = SCORE603e_bsp_postdriver_hook;
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
index 86040eba8c..6e61f0617b 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -263,8 +263,6 @@ void bsp_start( void )
/* signal them that we have fixed PR288 - eventually, this should go away */
_write_SPRG0(PPC_BSP_HAS_FIXED_PR288);
- /* initialize_exceptions() evaluates the exceptions_in_RAM flag */
- Cpu_table.exceptions_in_RAM = TRUE;
/*
* Initialize default raw exception handlers. See vectors/vectors_init.c
*/