Changeset 12838f75 in rtems


Ignore:
Timestamp:
Oct 2, 2008, 7:12:59 PM (11 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
61814f9
Parents:
c7932ded
Message:

2008-10-02 Joel Sherrill <joel.sherrill@…>

  • startup/bspgetworkarea.c: Change size_t to ssize_t on bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits which would limit the work area to 64K.
Location:
c/src/lib/libbsp
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/arm/gba/ChangeLog

    rc7932ded r12838f75  
     12008-10-02      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * startup/bspgetworkarea.c: Change size_t to ssize_t on
     4        bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits
     5        which would limit the work area to 64K.
     6
    172008-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/arm/gba/startup/bspgetworkarea.c

    rc7932ded r12838f75  
    2020 */
    2121void bsp_get_work_area(
    22   void   **work_area_start,
    23   size_t  *work_area_size,
    24   void   **heap_start,
    25   size_t  *heap_size
     22  void    **work_area_start,
     23  ssize_t  *work_area_size,
     24  void    **heap_start,
     25  ssize_t  *heap_size
    2626)
    2727{
  • c/src/lib/libbsp/arm/nds/ChangeLog

    rc7932ded r12838f75  
     12008-10-02      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * startup/bspgetworkarea.c: Change size_t to ssize_t on
     4        bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits
     5        which would limit the work area to 64K.
     6
    172008-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/arm/nds/startup/bspgetworkarea.c

    rc7932ded r12838f75  
    2323 */
    2424void bsp_get_work_area(
    25   void   **work_area_start,
    26   size_t  *work_area_size,
    27   void   **heap_start,
    28   size_t  *heap_size
     25  void    **work_area_start,
     26  ssize_t  *work_area_size,
     27  void    **heap_start,
     28  ssize_t  *heap_size
    2929)
    3030{
  • c/src/lib/libbsp/i386/pc386/ChangeLog

    rc7932ded r12838f75  
     12008-10-02      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * startup/bspgetworkarea.c: Change size_t to ssize_t on
     4        bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits
     5        which would limit the work area to 64K.
     6
    172008-10-02      Joel Sherrill <joel.sherrill@OARcorp.com>
    28
  • c/src/lib/libbsp/i386/pc386/startup/bspgetworkarea.c

    rc7932ded r12838f75  
    112112 */
    113113void bsp_get_work_area(
    114   void   **work_area_start,
    115   size_t  *work_area_size,
    116   void   **heap_start,
    117   size_t  *heap_size
    118114)
    119115{
     
    121117  *work_area_size  = (uintptr_t) bsp_mem_size - (uintptr_t) rtemsFreeMemStart;
    122118  *heap_start      = BSP_BOOTCARD_HEAP_USES_WORK_AREA;
    123   *heap_size       = (size_t) HeapSize;
     119  *heap_size       = (ssize_t) HeapSize;
    124120
    125121  #if 0
  • c/src/lib/libbsp/powerpc/mpc55xxevb/ChangeLog

    rc7932ded r12838f75  
     12008-10-02      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * startup/bspgetworkarea.c: Change size_t to ssize_t on
     4        bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits
     5        which would limit the work area to 64K.
     6
    172008-09-30      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • c/src/lib/libbsp/powerpc/mpc55xxevb/startup/bspgetworkarea.c

    rc7932ded r12838f75  
    3434void bsp_get_work_area(
    3535  void    **work_area_start,
    36   size_t   *work_area_size,
     36  ssize_t  *work_area_size,
    3737  void    **heap_start,
    38   size_t   *heap_size
     38  ssize_t  *heap_size
    3939)
    4040{
     
    4343        MPC55XX_INTERRUPT_STACK_SIZE - bsp_section_bss_end;
    4444  *heap_start = bsp_external_ram_start;
    45   *heap_size = (size_t) bsp_external_ram_size;
     45  *heap_size = (ssize_t) bsp_external_ram_size;
    4646}
  • c/src/lib/libbsp/powerpc/tqm8xx/ChangeLog

    rc7932ded r12838f75  
     12008-10-02      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * startup/bspgetworkarea.c: Change size_t to ssize_t on
     4        bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits
     5        which would limit the work area to 64K.
     6
    172008-09-30      Joel Sherrill <joel.sherrill@oarcorp.com>
    28
  • c/src/lib/libbsp/powerpc/tqm8xx/startup/bspgetworkarea.c

    rc7932ded r12838f75  
    2727
    2828void bsp_get_work_area(
    29   void **work_area_start,
    30   size_t *work_area_size,
    31   void **heap_start,
    32   size_t *heap_size
     29  void    **work_area_start,
     30  ssize_t *work_area_size,
     31  void    **heap_start,
     32  ssize_t *heap_size
    3333)
    3434{
  • c/src/lib/libbsp/unix/posix/ChangeLog

    rc7932ded r12838f75  
     12008-10-02      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * startup/bspgetworkarea.c: Change size_t to ssize_t on
     4        bsp_get_work_area(). On 16-bit architectures, size_t can be 16-bits
     5        which would limit the work area to 64K.
     6
    172008-09-30      Ralf Corsépius <ralf.corsepius@rtems.org>
    28
  • c/src/lib/libbsp/unix/posix/startup/bspgetworkarea.c

    rc7932ded r12838f75  
    1515
    1616void bsp_get_work_area(
    17   void   **work_area_start,
    18   size_t  *work_area_size,
    19   void   **heap_start,
    20   size_t  *heap_size
     17  void    **work_area_start,
     18  ssize_t  *work_area_size,
     19  void    **heap_start,
     20  ssize_t  *heap_size
    2121)
    2222{
Note: See TracChangeset for help on using the changeset viewer.