summaryrefslogtreecommitdiffstats
path: root/doc/porting
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-07 22:32:44 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-10-07 22:32:44 +0000
commitebd21dc2e2597adb6b085ba44c3d47e059f7459f (patch)
treea39b5bb422bd73c39cfa0f40477c401d36390ae0 /doc/porting
parentAdded Base File System chapter. Builds completely. (diff)
downloadrtems-ebd21dc2e2597adb6b085ba44c3d47e059f7459f.tar.bz2
Filled in descriptions for required fields in CPU Configuration Table.
Diffstat (limited to 'doc/porting')
-rw-r--r--doc/porting/cpuinit.t59
1 files changed, 58 insertions, 1 deletions
diff --git a/doc/porting/cpuinit.t b/doc/porting/cpuinit.t
index e13d2a0d28..51803ec481 100644
--- a/doc/porting/cpuinit.t
+++ b/doc/porting/cpuinit.t
@@ -45,7 +45,64 @@ typedef struct @{
@} rtems_cpu_table;
@end example
-XXX copy the descriptions of the fields from another CPU supplement
+@table @code
+@item pretasking_hook
+is the address of the user provided routine which is invoked
+once RTEMS APIs are initialized. This routine will be invoked
+before any system tasks are created. Interrupts are disabled.
+This field may be NULL to indicate that the hook is not utilized.
+
+@item predriver_hook
+is the address of the user provided
+routine that is invoked immediately before the
+the device drivers and MPCI are initialized. RTEMS
+initialization is complete but interrupts and tasking are disabled.
+This field may be NULL to indicate that the hook is not utilized.
+
+@item postdriver_hook
+is the address of the user provided
+routine that is invoked immediately after the
+the device drivers and MPCI are initialized. RTEMS
+initialization is complete but interrupts and tasking are disabled.
+This field may be NULL to indicate that the hook is not utilized.
+
+@item idle_task
+is the address of the optional user
+provided routine which is used as the system's IDLE task. If
+this field is not NULL, then the RTEMS default IDLE task is not
+used. This field may be NULL to indicate that the default IDLE
+is to be used.
+
+@item do_zero_of_workspace
+indicates whether RTEMS should
+zero the Workspace as part of its initialization. If set to
+TRUE, the Workspace is zeroed. Otherwise, it is not.
+
+@item idle_task_stack_size
+is the size of the RTEMS idle task stack in bytes.
+If this number is less than MINIMUM_STACK_SIZE, then the
+idle task's stack will be MINIMUM_STACK_SIZE in byte.
+
+@item interrupt_stack_size
+is the size of the RTEMS allocated interrupt stack in bytes.
+This value must be at least as large as MINIMUM_STACK_SIZE.
+
+@item extra_mpci_receive_server_stack
+is the extra stack space allocated for the RTEMS MPCI receive server task
+in bytes. The MPCI receive server may invoke nearly all directives and
+may require extra stack space on some targets.
+
+@item stack_allocate_hook
+is the address of the optional user provided routine which allocates
+memory for task stacks. If this hook is not NULL, then a stack_free_hook
+must be provided as well.
+
+@item stack_free_hook
+is the address of the optional user provided routine which frees
+memory for task stacks. If this hook is not NULL, then a stack_allocate_hook
+must be provided as well.
+
+@end table
@section Initializing the CPU