Changeset b317117a in rtems


Ignore:
Timestamp:
May 30, 1998, 3:53:19 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
a874427
Parents:
dc104a4
Message:

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

fixed starting address.

Location:
c/src/lib/libbsp/powerpc/dmv177/startup
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/dmv177/startup/bspstart.c

    rdc104a4 rb317117a  
    135135  Cpu_table.predriver_hook    = bsp_predriver_hook;
    136136  Cpu_table.postdriver_hook   = bsp_postdriver_hook;
    137   Cpu_table.clicks_per_usec   = 66 / 4;  /* XXX get from linkcmds */
     137  /* Cpu_table.clicks_per_usec   = 66666667 / 4000000; */
     138  Cpu_table.clicks_per_usec   = 66666667 / 4000000 / 2;
    138139
    139140  Cpu_table.do_zero_of_workspace = TRUE;
  • c/src/lib/libbsp/powerpc/dmv177/startup/linkcmds

    rdc104a4 rb317117a  
    88 *
    99 *  Calculated by:  (66.67 Mhz * 1000) / 4 cycles per click
    10  */
     10 *
    1111
    1212PROVIDE(CPU_PPC_CLICKS_PER_MS = 16667);
     13*/
    1314
    1415MEMORY
    1516  {
    16         RAM : ORIGIN = 0, LENGTH = 32M
     17        RAM : ORIGIN = 0x41000, LENGTH = 32M
    1718        EPROM : ORIGIN = 0xFFF00000, LENGTH = 0x20000
    1819  }
Note: See TracChangeset for help on using the changeset viewer.