diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-07-17 10:19:16 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2012-07-17 10:19:16 +0200 |
commit | 317ee8d7ffd4bb6c785f7a7d8a84ccd7f873513f (patch) | |
tree | f51362b3092abb782995f9c9d59e0252a660d3ac /testsuites/sptests | |
parent | Fix broken _endtext symbol (diff) | |
download | rtems-317ee8d7ffd4bb6c785f7a7d8a84ccd7f873513f.tar.bz2 |
score: Change greedy allocation API
Diffstat (limited to 'testsuites/sptests')
-rw-r--r-- | testsuites/sptests/spfatal22/testcase.h | 2 | ||||
-rw-r--r-- | testsuites/sptests/spprivenv01/init.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/testsuites/sptests/spfatal22/testcase.h b/testsuites/sptests/spfatal22/testcase.h index 188ff1d43f..268c48aed5 100644 --- a/testsuites/sptests/spfatal22/testcase.h +++ b/testsuites/sptests/spfatal22/testcase.h @@ -18,7 +18,7 @@ void force_error() { - rtems_heap_greedy_allocate( 0 ); + rtems_heap_greedy_allocate( NULL, 0 ); rtems_libio_init(); } diff --git a/testsuites/sptests/spprivenv01/init.c b/testsuites/sptests/spprivenv01/init.c index 609f85cae5..29b3b98561 100644 --- a/testsuites/sptests/spprivenv01/init.c +++ b/testsuites/sptests/spprivenv01/init.c @@ -47,7 +47,7 @@ rtems_task Init( puts( "\n\n*** TEST USER ENVIRONMENT ROUTINE - 01 ***" ); puts( "Init - allocating most of heap -- OK" ); - opaque = rtems_heap_greedy_allocate( 0 ); + opaque = rtems_heap_greedy_allocate( NULL, 0 ); puts( "Init - attempt to reset env - expect RTEMS_NO_MEMORY" ); sc = rtems_libio_set_private_env(); @@ -57,7 +57,7 @@ rtems_task Init( rtems_heap_greedy_free( opaque ); puts( "Init - allocating most of workspace memory" ); - opaque = rtems_workspace_greedy_allocate( 0 ); + opaque = rtems_workspace_greedy_allocate( NULL, 0 ); puts( "Init - attempt to reset env - expect RTEMS_TOO_MANY" ); sc = rtems_libio_set_private_env(); |