Changeset 235aaf0 in rtems


Ignore:
Timestamp:
Aug 9, 2009, 3:23:10 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
384f0225
Parents:
bdceecd2
Message:

2009-08-09 Xi Yang <hiyangxi@…>

  • libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am, sapi/Makefile.am, score/Makefile.am, score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under by one uint32_t. This showed up in the unlimited and heapwalk tests on ARM targets.
Location:
cpukit
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    rbdceecd2 r235aaf0  
     12009-08-09      Xi Yang <hiyangxi@gmail.com>
     2
     3        * libcsupport/Makefile.am, posix/Makefile.am, rtems/Makefile.am,
     4        sapi/Makefile.am, score/Makefile.am,
     5        score/include/rtems/score/heap.h: HEAP_BLOCK_USED_OVERHEAD was under
     6        by one uint32_t. This showed up in the unlimited and heapwalk tests
     7        on ARM targets.
     8
    192009-08-06      Joel Sherrill <joel.sherrill@OARcorp.com>
    210
  • cpukit/libcsupport/Makefile.am

    rbdceecd2 r235aaf0  
    114114    $(ERROR_C_FILES) $(ASSOCIATION_C_FILES)
    115115
     116libcsupport_a_SOURCES += src/end_profile.c
     117
    116118if UNIX
    117119libcsupport_a_SOURCES += src/unixlibc.c src/unixlibc_io.c src/hosterr.c
  • cpukit/posix/Makefile.am

    rbdceecd2 r235aaf0  
    1212AM_CPPFLAGS += -D__RTEMS_INSIDE__
    1313
     14project_lib_LIBRARIES = libposix.a
    1415noinst_LIBRARIES = libposix.a
    1516libposix_a_CPPFLAGS = $(AM_CPPFLAGS)
  • cpukit/rtems/Makefile.am

    rbdceecd2 r235aaf0  
    88AM_CPPFLAGS += -D__RTEMS_INSIDE__
    99
     10project_lib_LIBRARIES = librtems.a
    1011noinst_LIBRARIES = librtems.a
    1112librtems_a_CPPFLAGS = $(AM_CPPFLAGS)
  • cpukit/sapi/Makefile.am

    rbdceecd2 r235aaf0  
    2222
    2323noinst_LIBRARIES = libsapi.a
     24project_lib_LIBRARIES = libsapi.a
    2425libsapi_a_SOURCES = src/debug.c src/extension.c src/extensioncreate.c \
    2526    src/extensiondelete.c src/extensionident.c src/fatal.c src/exinit.c \
  • cpukit/score/Makefile.am

    rbdceecd2 r235aaf0  
    7474AM_CPPFLAGS += -D__RTEMS_INSIDE__
    7575
     76project_lib_LIBRARIES = libscore.a
    7677noinst_LIBRARIES = libscore.a
    7778libscore_a_SOURCES =
  • cpukit/score/include/rtems/score/heap.h

    rbdceecd2 r235aaf0  
    118118/**
    119119 *  Offset of user data pointer from the block pointer. Equal to the
    120  *  offsetof(Heap_Block.next).
     120 *  offset of(Heap_Block.next).
    121121 */
    122122#define HEAP_BLOCK_USER_OFFSET (sizeof(uint32_t) * 2)
    123123
    124124/**
    125  *  Num bytes of overhead in used block. Equal to the sizeof(Heap_Block.size).
    126  */
    127 #define HEAP_BLOCK_USED_OVERHEAD \
    128   (HEAP_BLOCK_USER_OFFSET - HEAP_BLOCK_HEADER_OFFSET)
     125 *  This is the number of bytes of overhead in a used block.
     126 *  Equal to the sizeof(Heap_Block.previous and next).
     127 */
     128#define HEAP_BLOCK_USED_OVERHEAD (sizeof(uint32_t) * 2)
    129129
    130130/** Size of the permanent dummy last block. */
Note: See TracChangeset for help on using the changeset viewer.