Changeset df49c60 in rtems for c/src/lib/libbsp/m68k/shared/m68kpretaskinghook.c
- Timestamp:
- 06/12/00 15:00:15 (23 years ago)
- Branches:
- 4.10, 4.11, 4.8, 4.9, 5, master
- Children:
- edeed26
- Parents:
- 0ab65474
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/m68k/shared/m68kpretaskinghook.c
r0ab65474 rdf49c60 35 35 extern rtems_configuration_table BSP_Configuration; 36 36 37 extern unsigned long _RamSize;37 extern void *_RamBase; 38 38 extern void *_WorkspaceBase; 39 39 extern void *_HeapSize; 40 41 42 unsigned long _M68k_Ramsize; 40 43 41 44 void bsp_pretasking_hook(void) … … 47 50 heapStart = (void *) 48 51 ((unsigned long)&_WorkspaceBase + BSP_Configuration.work_space_size); 49 ramSpace = _RamSize - (unsigned long) heapStart;52 ramSpace = (unsigned long) &_RamBase + _M68k_Ramsize - (unsigned long) heapStart; 50 53 51 54 if (heapSize == 0)
Note: See TracChangeset
for help on using the changeset viewer.