39#ifndef _RTEMS_CONFDEFS_INITTASK_H
40#define _RTEMS_CONFDEFS_INITTASK_H
42#ifndef __CONFIGURATION_TEMPLATE_h
43#error "Do not include this file directly, use <rtems/confdefs.h> instead"
48#ifdef CONFIGURE_RTEMS_INIT_TASKS_TABLE
53#include <rtems/sysinit.h>
55#ifndef CONFIGURE_INIT_TASK_ATTRIBUTES
56 #define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_DEFAULT_ATTRIBUTES
59#ifndef CONFIGURE_INIT_TASK_INITIAL_MODES
61 #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_DEFAULT_MODES
63 #define CONFIGURE_INIT_TASK_INITIAL_MODES RTEMS_NO_PREEMPT
67#ifndef CONFIGURE_INIT_TASK_NAME
68 #define CONFIGURE_INIT_TASK_NAME rtems_build_name( 'U', 'I', '1', ' ' )
71#ifndef CONFIGURE_INIT_TASK_PRIORITY
72 #define CONFIGURE_INIT_TASK_PRIORITY 1
75#ifndef CONFIGURE_INIT_TASK_STACK_SIZE
76 #define CONFIGURE_INIT_TASK_STACK_SIZE CONFIGURE_MINIMUM_TASK_STACK_SIZE
79#if CONFIGURE_INIT_TASK_STACK_SIZE > CONFIGURE_MINIMUM_TASK_STACK_SIZE
80 #define _CONFIGURE_INIT_TASK_STACK_EXTRA \
81 ( CONFIGURE_INIT_TASK_STACK_SIZE - CONFIGURE_MINIMUM_TASK_STACK_SIZE )
88#ifndef CONFIGURE_INIT_TASK_ENTRY_POINT
90 #define CONFIGURE_INIT_TASK_ENTRY_POINT Init
92 #ifndef CONFIGURE_INIT_TASK_ARGUMENTS
94 #define CONFIGURE_INIT_TASK_ARGUMENTS \
95 ( (rtems_task_argument) &bsp_boot_cmdline )
99#ifndef CONFIGURE_INIT_TASK_ARGUMENTS
100 #define CONFIGURE_INIT_TASK_ARGUMENTS 0
104 CONFIGURE_INIT_TASK_NAME,
105 CONFIGURE_INIT_TASK_STACK_SIZE,
106 CONFIGURE_INIT_TASK_PRIORITY,
107 CONFIGURE_INIT_TASK_ATTRIBUTES,
108 CONFIGURE_INIT_TASK_ENTRY_POINT,
109 CONFIGURE_INIT_TASK_INITIAL_MODES,
110 CONFIGURE_INIT_TASK_ARGUMENTS
115 RTEMS_SYSINIT_CLASSIC_USER_TASKS,
116 RTEMS_SYSINIT_ORDER_MIDDLE
125#ifndef _CONFIGURE_INIT_TASK_STACK_EXTRA
126 #define _CONFIGURE_INIT_TASK_STACK_EXTRA 0
Evaluate Per-CPU Configuration Options.
const rtems_initialization_tasks_table _RTEMS_tasks_User_task_table
Initialization table for the first user task.
Definition: taskinitdefault.c:34
void _RTEMS_tasks_Initialize_user_task(void)
System initialization handler to create and start the first user task.
Definition: taskinitusers.c:27
void rtems_task
Definition: tasks.h:101
CPU_Uint32ptr rtems_task_argument
Definition: tasks.h:106
const char * bsp_boot_cmdline
Global pointer to the command line of boot_card().
Definition: bootcard.c:25
Classic Tasks Manager Data Structures.