mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
* sp09/screen01.c: Correct test. * sp09/screen14.c: Update copyright. * sp28/init.c: Correct end of test messages.
This commit is contained in:
@@ -1,3 +1,9 @@
|
||||
2008-02-22 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* sp09/screen01.c: Correct test.
|
||||
* sp09/screen14.c: Update copyright.
|
||||
* sp28/init.c: Correct end of test messages.
|
||||
|
||||
2008-02-04 Joel Sherrill <joel.sherrill@oarcorp.com>
|
||||
|
||||
* sp43/init.c, sp43/sp43.scn: Exercise passing as object Id of SELF.
|
||||
|
||||
@@ -89,11 +89,7 @@ void Screen1()
|
||||
RTEMS_NOTEPAD_LAST,
|
||||
¬epad_value
|
||||
);
|
||||
#ifdef RTEMS_ITRON_API
|
||||
directive_failed( status,
|
||||
#else
|
||||
fatal_directive_status( status, RTEMS_INVALID_ID,
|
||||
#endif
|
||||
"rtems_task_get_note with no tasks in API"
|
||||
);
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
*
|
||||
* Output parameters: NONE
|
||||
*
|
||||
* COPYRIGHT (c) 1989-1999.
|
||||
* COPYRIGHT (c) 1989-2008.
|
||||
* On-Line Applications Research Corporation (OAR).
|
||||
*
|
||||
* The license and distribution terms for this file may be
|
||||
|
||||
@@ -18,6 +18,7 @@ rtems_task Init(rtems_task_argument argument);
|
||||
#define CONFIGURE_MAXIMUM_TASKS 4
|
||||
#define CONFIGURE_RTEMS_INIT_TASKS_TABLE
|
||||
#define CONFIGURE_MICROSECONDS_PER_TICK 52429
|
||||
#define CONFIGURE_INIT_TASK_STACK_SIZE (4*RTEMS_MINIMUM_STACK_SIZE)
|
||||
|
||||
#define CONFIGURE_MICROSECONDS_INIT
|
||||
|
||||
@@ -214,18 +215,17 @@ void test_multiple_taskvars(void)
|
||||
}
|
||||
|
||||
#define MAX_VARS 4096
|
||||
void *Pointers[MAX_VARS];
|
||||
|
||||
void test_out_of_memory(void)
|
||||
{
|
||||
int i;
|
||||
int max;
|
||||
void *wkspace_base;
|
||||
void **base;
|
||||
rtems_status_code sc;
|
||||
int ran_out = 0;
|
||||
void **base;
|
||||
|
||||
wkspace_base = rtems_configuration_get_work_space_start();
|
||||
base = (void **)wkspace_base;
|
||||
base = Pointers;
|
||||
|
||||
for (i=0 ; i<MAX_VARS ; i++ ) {
|
||||
sc = rtems_task_variable_add(RTEMS_SELF, &base[i], NULL);
|
||||
|
||||
Reference in New Issue
Block a user