Ignore:
Timestamp:
02/03/99 22:12:28 (24 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
7c7fd4d
Parents:
0747e2d
Message:

Patch from John S Gwynne <jsg@…> for malloctest. His comments:

I have a few patches for the efi332 bsp. If you let me know when you
expect the next snapshot release, I will try to have them to you
before then. Also, the malloctest has some problems that I would think
would prevent it from running on almost any platform. I have enclose
patches below to fix (1) Task_id and Task_name dimensioning, (2) end
of test message, (3) the amount of memory malloc'ed, and (4) retry on
unsuccessful (out of memory) molloc's.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/tests/libtests/malloctest/system.h

    r0747e2d rcd792a86  
    4040#define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3)
    4141
    42 #define CONFIGURE_EXTRA_TASK_STACKS (10 * RTEMS_MINIMUM_STACK_SIZE)
     42#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
    4343
    4444#include <confdefs.h>
     
    4646/* global variables */
    4747
    48 TEST_EXTERN rtems_id   Task_id[ 4 ];         /* array of task ids */
    49 TEST_EXTERN rtems_name Task_name[ 4 ];       /* array of task names */
     48TEST_EXTERN rtems_id   Task_id[ 6 ];         /* array of task ids */
     49TEST_EXTERN rtems_name Task_name[ 6 ];       /* array of task names */
    5050
    5151/* end of include file */
Note: See TracChangeset for help on using the changeset viewer.