2007-11-30 Till Straumann <strauman@slac.stanford.edu>

* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
This commit is contained in:
Till Straumann
2007-12-01 01:38:53 +00:00
parent 4af7ef3f40
commit d8eb6c703e
10 changed files with 20 additions and 11 deletions

View File

@@ -1,3 +1,7 @@
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

View File

@@ -1,3 +1,7 @@
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

View File

@@ -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;

View File

@@ -1,3 +1,7 @@
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

View File

@@ -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;

View File

@@ -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,

View File

@@ -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);

View File

@@ -1,3 +1,7 @@
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

View File

@@ -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;

View File

@@ -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
*/