A function may use as little or as much memory in this save area as needed.
函数可以根据需要使用这个保存区中任意大小的内存。
As I mentioned earlier, LR_OFFSET is the offset from the end of the stack to the link register save area.
正如我先前提到的,LR_OFFSET是堆栈末端到链接寄存器保存区的偏移量。
So, in this function, we are using the back chain pointer, the link register save area, and one local variable.
所以,在这个函数中,我们使用了回链指针、链接寄存器保存区和一个本地变量。
The link register save area holds the link register contents of the function being called, rather than for the current function.
链接寄存器保存区存有被调用函数(而非当前函数)的链接寄存器内容。
The TOC save area, compiler area, and linker area are all reserved for system use, and are not modified by programmers, but the programmer must reserve space for them.
TOC保存区、编译器区和链接器区都会为系统使用而预留出来,程序员不能对它们进行修改,但是必须要为它们预留空间。
The local variable space is used as a general storage area for the function, and the register save area is used to save the values of non-volatile registers that the function USES.
本地变量空间用作该函数的通用存储空间,寄存器保存区用于保存函数所使用的非可变寄存器的值。
Functions must assume that for the first eight parameters, they are only passed by register, but they will still have a save area available if they need to be stored by the program.
函数必须假设对于自己的前8个参数,它们只会通过寄存器传递,但是如果需要在程序中对参数进行存储,就仍然需要一个可用的保存区。
Each processor on the CPU has its own CSA (current save area) pointer that points to the MST that is to be used when a thread or interrupt handler is interrupted or swapped due to context switch.
CPU上的每个处理器都拥有自己的CSA(当前保存区)指针,指向当线程或中断处理程序由于上下文切换而被中断或交换时使用的MST。
Each processor on the CPU has its own CSA (current save area) pointer that points to the MST that is to be used when a thread or interrupt handler is interrupted or swapped due to context switch.
CPU上的每个处理器都拥有自己的CSA(当前保存区)指针,指向当线程或中断处理程序由于上下文切换而被中断或交换时使用的MST。
应用推荐