Changeset e1ee0b59 in rtems
- Timestamp:
- Sep 16, 2008, 10:13:54 PM (11 years ago)
- Branches:
- 4.10, 4.11, master
- Children:
- 53cb823
- Parents:
- 20d7660b
- Location:
- c/src/lib/libbsp/powerpc
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
c/src/lib/libbsp/powerpc/gen5200/ChangeLog
r20d7660b re1ee0b59 1 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2 3 * startup/bspgetworkarea.c, startup/linkcmds.base: Do some prep work in 4 anticipation of gen5200 and gen83xx being able to shared 5 bsp_get_work_area() implementation. 6 1 7 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2 8 -
c/src/lib/libbsp/powerpc/gen5200/startup/bspgetworkarea.c
r20d7660b re1ee0b59 10 10 #include <bsp/bootcard.h> 11 11 #include <stdint.h> 12 13 /* 14 * These are provided by the linkcmds for ALL of the BSPs which use this file. 15 */ 16 extern char RamBase[]; 17 extern char WorkAreaBase[]; 18 extern char HeapSize[]; 19 extern char RamSize[]; 12 20 13 21 #if defined(HAS_UBOOT) … … 32 40 uboot_bdinfo_ptr->bi_memsize; 33 41 #else /* HAS_UBOOT */ 34 char *ram_end = bsp_ram_end;42 char *ram_end = (uintptr_t)RamBase + (uintptr_t)RamSize; 35 43 #endif /* HAS_UBOOT */ 36 44 … … 38 46 *work_area_size = ram_end - bsp_work_area_start; 39 47 *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA; 40 *heap_size = BSP_BOOTCARD_HEAP_SIZE_DEFAULT;48 *heap_size = HeapSize; 41 49 } 42 50 -
c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.base
r20d7660b re1ee0b59 22 22 23 23 bsp_section_align = 32; 24 25 RamBase = bsp_ram_start; 26 RamSize = bsp_ram_size; 27 HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; 24 28 25 29 SECTIONS { … … 269 273 */ 270 274 bsp_work_area_start = .; 275 WorkAreaBase = .; 271 276 272 277 /* Stabs debugging sections. */ -
c/src/lib/libbsp/powerpc/gen83xx/ChangeLog
r20d7660b re1ee0b59 1 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2 3 * startup/bspgetworkarea.c, startup/linkcmds.base: Do some prep work in 4 anticipation of gen5200 and gen83xx being able to shared 5 bsp_get_work_area() implementation. 6 1 7 2008-09-16 Joel Sherrill <joel.sherrill@oarcorp.com> 2 8 -
c/src/lib/libbsp/powerpc/gen83xx/startup/bspgetworkarea.c
r20d7660b re1ee0b59 24 24 #include <bsp/bootcard.h> 25 25 26 /* 27 * These are provided by the linkcmds for ALL of the BSPs which use this file. 28 */ 29 extern char RamBase[]; 30 extern char WorkAreaBase[]; 31 extern char HeapSize[]; 32 extern char RamSize[]; 33 26 34 #ifdef HAS_UBOOT 27 35 extern bd_t mpc83xx_uboot_board_info; … … 38 46 mpc83xx_uboot_board_info.bi_memsize; 39 47 #else /* HAS_UBOOT */ 40 char *ram_end = bsp_ram_end;48 char *ram_end = RamBase + (uintptr_t)RamSize; 41 49 #endif /* HAS_UBOOT */ 42 50 … … 44 52 *work_area_size = ram_end - bsp_work_area_start; 45 53 *heap_start = BSP_BOOTCARD_HEAP_USES_WORK_AREA; 46 *heap_size = BSP_BOOTCARD_HEAP_SIZE_DEFAULT;54 *heap_size = HeapSize; 47 55 } -
c/src/lib/libbsp/powerpc/gen83xx/startup/linkcmds.base
r20d7660b re1ee0b59 18 18 19 19 bsp_section_align = 32; 20 21 RamBase = bsp_ram_start; 22 RamSize = bsp_ram_size; 23 HeapSize = DEFINED(HeapSize) ? HeapSize : 0x0; 20 24 21 25 SECTIONS { … … 275 279 */ 276 280 bsp_work_area_start = .; 281 WorkAreaBase = .; 277 282 278 283 /* Stabs debugging sections. */
Note: See TracChangeset
for help on using the changeset viewer.