clicks_per_usec had to be cut in half (unknown reason).

fixed starting address.
This commit is contained in:
Joel Sherrill
1998-05-30 15:53:19 +00:00
parent dc104a4039
commit b317117a71
2 changed files with 5 additions and 3 deletions

View File

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

View File

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