Changeset 1a1c3fb in rtems


Ignore:
Timestamp:
Nov 15, 2009, 10:37:19 PM (10 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, master
Children:
7eab7ade
Parents:
c46c2b63
Message:

2009-11-15 Till Straumann <strauman@…>

  • startup/bspstart.c: use normal get_ppc_cpu_type() for determining PPC flavor. This causes the appropriate 'feature' bits to be set and should work as long as the PVR is set to 0xfffe0000 in the device tree.
  • startup/linkcmds: increased RAM_SIZE to 32M.
Location:
c/src/lib/libbsp/powerpc/psim
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/psim/ChangeLog

    rc46c2b63 r1a1c3fb  
     12009-11-15      Till Straumann <strauman@slac.stanford.edu>
     2
     3        * startup/bspstart.c: use normal get_ppc_cpu_type()
     4        for determining PPC flavor. This causes the appropriate
     5        'feature' bits to be set and should work as long
     6        as the PVR is set to 0xfffe0000 in the device tree.
     7
     8        * startup/linkcmds: increased RAM_SIZE to 32M.
     9
    1102009-11-11      Till Straumann <strauman@slac.stanford.edu>
    211
  • c/src/lib/libbsp/powerpc/psim/startup/bspstart.c

    rc46c2b63 r1a1c3fb  
    8585
    8686  /*
    87    * Note we can not get CPU identification dynamically, so
    88    * force current_ppc_cpu.
     87   * Note we can not get CPU identification dynamically.
     88   * PVR has to be set to PPC_PSIM (0xfffe) from the device
     89   * file.
    8990   */
    90   current_ppc_cpu = PPC_PSIM;
     91
     92  get_ppc_cpu_type();
    9193
    9294  /*
     
    137139  _write_MSR(_read_MSR() | MSR_DR | MSR_IR);
    138140  asm volatile("sync; isync");
     141
    139142}
  • c/src/lib/libbsp/powerpc/psim/startup/linkcmds

    rc46c2b63 r1a1c3fb  
    215215  PROVIDE (edata = .);
    216216
    217   PROVIDE (RAM_END = 8M);
     217  PROVIDE (RAM_END = 32M);
    218218  .sbss      :
    219219  {
Note: See TracChangeset for help on using the changeset viewer.