4.104.114.84.95
Last change
on this file since cd792a86 was
cd792a86,
checked in by Joel Sherrill <joel.sherrill@…>, on 02/03/99 at 22:12:28
|
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.
|
-
Property mode set to
100644
|
File size:
1.1 KB
|
Line | |
---|
1 | /* system.h |
---|
2 | * |
---|
3 | * This include file contains information that is included in every |
---|
4 | * function in the test set. |
---|
5 | * |
---|
6 | * COPYRIGHT (c) 1989-1998. |
---|
7 | * On-Line Applications Research Corporation (OAR). |
---|
8 | * Copyright assigned to U.S. Government, 1994. |
---|
9 | * |
---|
10 | * The license and distribution terms for this file may be |
---|
11 | * found in the file LICENSE in this distribution or at |
---|
12 | * http://www.OARcorp.com/rtems/license.html. |
---|
13 | * |
---|
14 | * $Id$ |
---|
15 | */ |
---|
16 | |
---|
17 | #include <tmacros.h> |
---|
18 | |
---|
19 | /* macros */ |
---|
20 | |
---|
21 | /* functions */ |
---|
22 | |
---|
23 | rtems_task Init( |
---|
24 | rtems_task_argument argument |
---|
25 | ); |
---|
26 | |
---|
27 | rtems_task Task_1_through_5( |
---|
28 | rtems_task_argument argument |
---|
29 | ); |
---|
30 | |
---|
31 | void blow_stack( void ); |
---|
32 | |
---|
33 | /* configuration information */ |
---|
34 | |
---|
35 | #define CONFIGURE_SPTEST |
---|
36 | |
---|
37 | #define CONFIGURE_TEST_NEEDS_CONSOLE_DRIVER |
---|
38 | #define CONFIGURE_TEST_NEEDS_CLOCK_DRIVER |
---|
39 | |
---|
40 | #define TASK_STACK_SIZE (RTEMS_MINIMUM_STACK_SIZE*3) |
---|
41 | |
---|
42 | #define CONFIGURE_RTEMS_INIT_TASKS_TABLE |
---|
43 | |
---|
44 | #include <confdefs.h> |
---|
45 | |
---|
46 | /* global variables */ |
---|
47 | |
---|
48 | TEST_EXTERN rtems_id Task_id[ 6 ]; /* array of task ids */ |
---|
49 | TEST_EXTERN rtems_name Task_name[ 6 ]; /* array of task names */ |
---|
50 | |
---|
51 | /* end of include file */ |
---|
Note: See
TracBrowser
for help on using the repository browser.