forked from Imagelibrary/rtems
* Makefile.am, configure.ac, malloc03/init.c: Add test for PPPDDISC. * termios06/.cvsignore, termios06/Makefile.am, termios06/init.c, termios06/termios06.doc, termios06/termios06.scn, termios06/test_pppd.c: New files.
44 lines
879 B
C
44 lines
879 B
C
/*
|
|
* COPYRIGHT (c) 1989-2010.
|
|
* On-Line Applications Research Corporation (OAR).
|
|
*
|
|
* The license and distribution terms for this file may be
|
|
* found in the file LICENSE in this distribution or at
|
|
* http://www.rtems.com/license/LICENSE.
|
|
*
|
|
* $Id$
|
|
*/
|
|
|
|
#include <tmacros.h>
|
|
#include "test_support.h"
|
|
|
|
rtems_task Init(
|
|
rtems_task_argument argument
|
|
)
|
|
{
|
|
void *p1;
|
|
|
|
puts( "\n\n*** TEST MALLOC03 ***" );
|
|
|
|
p1 = __builtin_frame_address(0);
|
|
printf("Attempt to free stack memory\n");
|
|
free( p1 );
|
|
|
|
puts( "*** END OF TEST MALLOC03 ***" );
|
|
|
|
rtems_test_exit(0);
|
|
}
|
|
|
|
/* configuration information */
|
|
|
|
#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER
|
|
#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER
|
|
|
|
#define CONFIGURE_MAXIMUM_TASKS 1
|
|
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
|
|
|
#define CONFIGURE_INIT
|
|
|
|
#include <rtems/confdefs.h>
|
|
/* end of file */
|