diff options
author | Joel Sherrill <joel@rtems.org> | 2016-11-15 10:37:59 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2017-01-11 12:13:21 -0600 |
commit | 48a7fa31f918a6fc88719b3c9393a9ba2829f42a (patch) | |
tree | 10bf638de133099fcabe5fe713ca98a546a27ab2 /doc/porting/cpuinit.t | |
parent | Remove obsolete __RTEMS_HAVE_SYS_CPUSET_H__ (diff) | |
download | rtems-48a7fa31f918a6fc88719b3c9393a9ba2829f42a.tar.bz2 |
Remove texinfo format documentation. Replaced by Sphinx formatted documentation.
closes #2812.
Diffstat (limited to '')
-rw-r--r-- | doc/porting/cpuinit.t | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/doc/porting/cpuinit.t b/doc/porting/cpuinit.t deleted file mode 100644 index 9e8e36c86c..0000000000 --- a/doc/porting/cpuinit.t +++ /dev/null @@ -1,49 +0,0 @@ -@c -@c COPYRIGHT (c) 1988-2002. -@c On-Line Applications Research Corporation (OAR). -@c All rights reserved. - -@chapter CPU Initialization - -This section describes the general CPU and system initialization sequence -as it pertains to the CPU dependent code. - -@section Introduction - -XXX general startup sequence description rewritten to make it more -applicable to CPU depdent code in executive - -@section Initializing the CPU - -The _CPU_Initialize routine performs processor dependent initialization. - -@example -void _CPU_Initialize( - void (*thread_dispatch) /* may be ignored */ -) -@end example - -The thread_dispatch argument is the address of the entry point for the -routine called at the end of an ISR once it has been decided a context -switch is necessary. On some compilation systems it is difficult to call -a high-level language routine from assembly. Providing the address of the -_Thread_ISR_Dispatch routine allows the porter an easy way to obtain this -critical address and thus provides an easy way to work around this -limitation on these systems. - -If you encounter this problem save the entry point in a CPU dependent -variable as shown below: - -@example -_CPU_Thread_dispatch_pointer = thread_dispatch; -@end example - - -During the initialization of the context for tasks with floating point, -the CPU dependent code is responsible for initializing the floating point -context. If there is not an easy way to initialize the FP context during -Context_Initialize, then it is usually easier to save an "uninitialized" -FP context here and copy it to the task's during Context_Initialize. If -this technique is used to initialize the FP contexts, then it is important -to ensure that the state of the floating point unit is in a coherent, -initialized state. |