Changeset 4c5212e in rtems


Ignore:
Timestamp:
Sep 16, 2008, 10:16:26 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
85e3716
Parents:
07ce99e
Message:

2008-09-16 Joel Sherrill <joel.sherrill@…>

  • Makefile.am, startup/bspstart.c, startup/linkcmds: Use top level shared bsp_get_work_area() implementation.
Location:
c/src/lib/libbsp/m68k/uC5282
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/uC5282/ChangeLog

    r07ce99e r4c5212e  
     12008-09-16      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * Makefile.am, startup/bspstart.c, startup/linkcmds: Use top level
     4        shared bsp_get_work_area() implementation.
     5
    162008-09-16      Joel Sherrill <joel.sherrill@oarcorp.com>
    27
  • c/src/lib/libbsp/m68k/uC5282/Makefile.am

    r07ce99e r4c5212e  
    2828startup_SOURCES = startup/bspclean.c ../../shared/bsplibc.c \
    2929    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
    30     ../../shared/bsppretaskinghook.c ../../m68k/shared/m68kbspgetworkarea.c \
     30    ../../shared/bsppretaskinghook.c ../../shared/bspgetworkarea.c \
    3131    startup/init5282.c startup/bspstart.c ../../shared/bootcard.c \
    3232    ../../shared/sbrk.c ../../m68k/shared/setvec.c \
  • c/src/lib/libbsp/m68k/uC5282/startup/bspstart.c

    r07ce99e r4c5212e  
    3232 * Linker Script Defined Variables
    3333 */
    34 extern char _RamSize[];
    35 extern char _RamBase[];
     34extern char RamSize[];
     35extern char RamBase[];
    3636
    3737/*
     
    204204        int *nfp = (int *)*fp;
    205205        if ((nfp <= fp)
    206          || ((char *)nfp >= _RamSize)
    207          || ((char *)(nfp[1]) >= _RamSize))
     206         || ((char *)nfp >= RamSize)
     207         || ((char *)(nfp[1]) >= RamSize))
    208208            break;
    209209        printk("FP:%x -> %x    PC:%x\n", fp, nfp, nfp[1]);
     
    241241   * Cache SDRAM
    242242   */
    243   mcf5282_acr0_mode = MCF5XXX_ACR_AB((uint32_t)_RamBase)     |
    244                       MCF5XXX_ACR_AM((uint32_t)_RamSize-1)   |
     243  mcf5282_acr0_mode = MCF5XXX_ACR_AB((uint32_t)RamBase)     |
     244                      MCF5XXX_ACR_AM((uint32_t)RamSize-1)   |
    245245                      MCF5XXX_ACR_EN                         |
    246246                      MCF5XXX_ACR_BWE                        |
  • c/src/lib/libbsp/m68k/uC5282/startup/linkcmds

    r07ce99e r4c5212e  
    1818 * Declare some locations and sizes.
    1919 */
    20 _RamBase = DEFINED(_RamBase) ? _RamBase : 0x0;
    21 _RamSize = DEFINED(_RamSize) ? _RamSize : 16M;
    22 _HeapSize = DEFINED(_HeapSize) ? _HeapSize : 0;
     20RamBase = DEFINED(RamBase) ? RamBase : 0x0;
     21RamSize = DEFINED(RamSize) ? RamSize : 16M;
     22HeapSize = DEFINED(HeapSize) ? HeapSize : 0;
    2323_FlashBase = DEFINED(_FlashBase) ? _FlashBase : 0x10000000;
    2424_FlashSize = DEFINED(_FlashSize) ? _FlashSize : 4M ;
     
    167167        PROVIDE (end = .);
    168168        _clear_end = .;
    169         _WorkspaceBase = .;
     169        WorkAreaBase = .;
    170170    } >ram
    171171
Note: See TracChangeset for help on using the changeset viewer.