Ignore:
Timestamp:
06/12/00 15:00:15 (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
edeed26
Parents:
0ab65474
Message:

Merged from 4.5.0-beta3a

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/m68k/shared/m68kpretaskinghook.c

    r0ab65474 rdf49c60  
    3535extern rtems_configuration_table  BSP_Configuration;
    3636
    37 extern unsigned long  _RamSize;
     37extern void          *_RamBase;
    3838extern void          *_WorkspaceBase;
    3939extern void          *_HeapSize;
     40
     41
     42unsigned long  _M68k_Ramsize;
    4043
    4144void bsp_pretasking_hook(void)
     
    4750    heapStart =  (void *)
    4851       ((unsigned long)&_WorkspaceBase + BSP_Configuration.work_space_size);
    49     ramSpace = _RamSize - (unsigned long) heapStart;
     52    ramSpace = (unsigned long) &_RamBase + _M68k_Ramsize - (unsigned long) heapStart;
    5053
    5154    if (heapSize == 0)
Note: See TracChangeset for help on using the changeset viewer.