ARM VERSION 1.2 Ficha de datos Pagina 164

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 276
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 163
The C and C++ Libraries
4-74 Copyright © 1999-2001 ARM Limited. All rights reserved. ARM DUI 0067D
4.9.11 __rt_stack_postlongjmp()
This function sets sp and sl to correct values after a call to
longjmp()
. An incomplete
prototype implementation in assembler code is in
rt_memory.s
.
Implementation
This function is called with r0 containing the pre-
setjmp()
value for sl, and r1
containing the pre-
setjmp()
value for sp.
If your memory model is used only with non stack-checked ATPCS, you do not have to
implement this function.
Returns
The function must set sl and sp to valid post-
longjmp()
values. The registers must be set
atomically to avoid interrupt problems. So in the minimal implementation where the
memory model requires no special handling, you would push r0 and r1 on the stack and
then use
LDM
to load sl and sp atomically with the new values.
Vista de pagina 163
1 2 ... 159 160 161 162 163 164 165 166 167 168 169 ... 275 276

Comentarios a estos manuales

Sin comentarios