diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-10-16 17:45:19 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-10-16 17:45:19 +0000 |
commit | 2c46df1916a25b7880416aee974a518cc607717a (patch) | |
tree | 87cac3a4daccc11dcfa281e2f59fa866ae257bc1 /test/test.c | |
parent | 8da7f367eeb3dc4dd71a10f7e7f18efe785c554f (diff) | |
download | ChibiOS-2c46df1916a25b7880416aee974a518cc607717a.tar.gz ChibiOS-2c46df1916a25b7880416aee974a518cc607717a.tar.bz2 ChibiOS-2c46df1916a25b7880416aee974a518cc607717a.zip |
New heap manager.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1221 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/test/test.c b/test/test.c index 434ef1b8c..bbeb9adc4 100644 --- a/test/test.c +++ b/test/test.c @@ -59,11 +59,7 @@ static char *tokp; * Static working areas, the following areas can be used for threads or
* used as temporary buffers. */
-WORKING_AREA(waT0, THREADS_STACK_SIZE);
-WORKING_AREA(waT1, THREADS_STACK_SIZE);
-WORKING_AREA(waT2, THREADS_STACK_SIZE);
-WORKING_AREA(waT3, THREADS_STACK_SIZE);
-WORKING_AREA(waT4, THREADS_STACK_SIZE);
+union test_buffers test;
/*
* Pointers to the spawned threads. @@ -73,7 +69,7 @@ Thread *threads[MAX_THREADS]; /*
* Pointers to the working areas. */
-void * const wa[5] = {waT0, waT1, waT2, waT3, waT4};
+void * const wa[5] = {test.waT0, test.waT1, test.waT2, test.waT3, test.waT4};
/*
* Console output.
|