forked from Imagelibrary/rtems
clicks_per_usec had to be cut in half (unknown reason).
fixed starting address.
This commit is contained in:
@@ -134,7 +134,8 @@ void bsp_start( void )
|
||||
Cpu_table.pretasking_hook = bsp_pretasking_hook; /* init libc, etc. */
|
||||
Cpu_table.predriver_hook = bsp_predriver_hook;
|
||||
Cpu_table.postdriver_hook = bsp_postdriver_hook;
|
||||
Cpu_table.clicks_per_usec = 66 / 4; /* XXX get from linkcmds */
|
||||
/* Cpu_table.clicks_per_usec = 66666667 / 4000000; */
|
||||
Cpu_table.clicks_per_usec = 66666667 / 4000000 / 2;
|
||||
|
||||
Cpu_table.do_zero_of_workspace = TRUE;
|
||||
Cpu_table.interrupt_stack_size = (12 * 1024);
|
||||
|
||||
@@ -7,13 +7,14 @@ ENTRY(_start)
|
||||
* Number of Decrementer countdowns per millisecond
|
||||
*
|
||||
* Calculated by: (66.67 Mhz * 1000) / 4 cycles per click
|
||||
*/
|
||||
*
|
||||
|
||||
PROVIDE(CPU_PPC_CLICKS_PER_MS = 16667);
|
||||
*/
|
||||
|
||||
MEMORY
|
||||
{
|
||||
RAM : ORIGIN = 0, LENGTH = 32M
|
||||
RAM : ORIGIN = 0x41000, LENGTH = 32M
|
||||
EPROM : ORIGIN = 0xFFF00000, LENGTH = 0x20000
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user