forked from Imagelibrary/rtems
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
* startup/bspstart: removed _Cpu_table.exceptions_in_RAM.
This commit is contained in:
@@ -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>
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* shared/startup/pretaskinghook.c: Replaced inclusion of
|
* shared/startup/pretaskinghook.c: Replaced inclusion of
|
||||||
|
|||||||
@@ -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>
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* irq/irq.h, irq/irq_init.c: Removed the definition
|
* irq/irq.h, irq/irq_init.c: Removed the definition
|
||||||
|
|||||||
@@ -294,7 +294,6 @@ void bsp_start(void)
|
|||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
||||||
Cpu_table.predriver_hook = bsp_predriver_hook; /* init PCI / RTC ... */
|
Cpu_table.predriver_hook = bsp_predriver_hook; /* init PCI / RTC ... */
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
||||||
Cpu_table.exceptions_in_RAM = TRUE;
|
|
||||||
|
|
||||||
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
||||||
Cpu_table.interrupt_stack_size = 4 * 1024;
|
Cpu_table.interrupt_stack_size = 4 * 1024;
|
||||||
|
|||||||
@@ -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>
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* irq/irq.h, irq/irq_init.c: Removed the definition
|
* irq/irq.h, irq/irq_init.c: Removed the definition
|
||||||
|
|||||||
@@ -210,7 +210,6 @@ void bsp_start(void)
|
|||||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
||||||
Cpu_table.predriver_hook = bsp_predriver_hook; /* init PCI / RTC ... */
|
Cpu_table.predriver_hook = bsp_predriver_hook; /* init PCI / RTC ... */
|
||||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
||||||
Cpu_table.exceptions_in_RAM = TRUE;
|
|
||||||
|
|
||||||
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
if( Cpu_table.interrupt_stack_size < 4*1024 )
|
||||||
Cpu_table.interrupt_stack_size = 4 * 1024;
|
Cpu_table.interrupt_stack_size = 4 * 1024;
|
||||||
|
|||||||
@@ -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>
|
2007-11-30 Joel Sherrill <joel.sherrill@OARcorp.com>
|
||||||
|
|
||||||
* irq/GT64260Int.c, network/if_100MHz/Makefile.am,
|
* irq/GT64260Int.c, network/if_100MHz/Makefile.am,
|
||||||
|
|||||||
@@ -322,7 +322,6 @@ void bsp_start( void )
|
|||||||
/*
|
/*
|
||||||
* Initialize default raw exception hanlders. See vectors/vectors_init.c
|
* Initialize default raw exception hanlders. See vectors/vectors_init.c
|
||||||
*/
|
*/
|
||||||
Cpu_table.exceptions_in_RAM = TRUE;
|
|
||||||
initialize_exceptions();
|
initialize_exceptions();
|
||||||
/*
|
/*
|
||||||
* Init MMU block address translation to enable hardware
|
* 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.do_zero_of_workspace = TRUE;
|
||||||
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
Cpu_table.interrupt_stack_size = CONFIGURE_INTERRUPT_STACK_MEMORY;
|
||||||
/* P94 : 7455 TB/DECR is clocked by the system bus clock frequency */
|
/* 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() */
|
_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);
|
bsp_clicks_per_usec = BSP_bus_frequency/(BSP_time_base_divisor * 1000);
|
||||||
|
|||||||
@@ -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>
|
2007-11-30 Till Straumann <strauman@slac.stanford.edu>
|
||||||
|
|
||||||
* vectors/vectors.S: Removed; this BSP now uses the shared
|
* vectors/vectors.S: Removed; this BSP now uses the shared
|
||||||
|
|||||||
@@ -261,21 +261,17 @@ void bsp_start( void )
|
|||||||
*A_Vector = Code;
|
*A_Vector = Code;
|
||||||
}
|
}
|
||||||
|
|
||||||
Cpu_table.exceptions_in_RAM = TRUE;
|
|
||||||
msr_value = 0x2030;
|
msr_value = 0x2030;
|
||||||
|
|
||||||
#elif (SCORE603E_USE_OPEN_FIRMWARE)
|
#elif (SCORE603E_USE_OPEN_FIRMWARE)
|
||||||
Cpu_table.exceptions_in_RAM = TRUE;
|
|
||||||
msr_value = 0x2030;
|
msr_value = 0x2030;
|
||||||
|
|
||||||
#elif (SCORE603E_USE_NONE)
|
#elif (SCORE603E_USE_NONE)
|
||||||
Cpu_table.exceptions_in_RAM = TRUE;
|
|
||||||
msr_value = 0x2030;
|
msr_value = 0x2030;
|
||||||
_CPU_MSR_SET( msr_value );
|
_CPU_MSR_SET( msr_value );
|
||||||
bsp_set_trap_vectors();
|
bsp_set_trap_vectors();
|
||||||
|
|
||||||
#elif (SCORE603E_USE_DINK)
|
#elif (SCORE603E_USE_DINK)
|
||||||
Cpu_table.exceptions_in_RAM = TRUE;
|
|
||||||
msr_value = 0x2030;
|
msr_value = 0x2030;
|
||||||
_CPU_MSR_SET( msr_value );
|
_CPU_MSR_SET( msr_value );
|
||||||
|
|
||||||
@@ -312,7 +308,6 @@ void bsp_start( void )
|
|||||||
* initialize the CPU table for this BSP
|
* 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.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
||||||
Cpu_table.predriver_hook = bsp_predriver_hook; /* Init vectors */
|
Cpu_table.predriver_hook = bsp_predriver_hook; /* Init vectors */
|
||||||
Cpu_table.postdriver_hook = SCORE603e_bsp_postdriver_hook;
|
Cpu_table.postdriver_hook = SCORE603e_bsp_postdriver_hook;
|
||||||
|
|||||||
@@ -263,8 +263,6 @@ void bsp_start( void )
|
|||||||
/* signal them that we have fixed PR288 - eventually, this should go away */
|
/* signal them that we have fixed PR288 - eventually, this should go away */
|
||||||
_write_SPRG0(PPC_BSP_HAS_FIXED_PR288);
|
_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
|
* Initialize default raw exception handlers. See vectors/vectors_init.c
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user