Jump to content

Red zone (computing)

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by 81.232.114.228 (talk) at 20:30, 28 July 2014 (Notes and references: do we really need a two-column layout for just two references?). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

In computing, a red zone is a fixed-size area in memory beyond the stack pointer that has not been "allocated". This region of memory is not to be modified by interrupt/exception/signal handlers. This allows the space to be used for temporary data without the extra overhead of modifying the stack pointer. The x86-64 ABI mandates a 128-byte red zone.[1] The OpenRISC toolchain assumes a 128-byte red zone.[2]

Notes and references

  1. ^ "i386 and x86-64 Options - Using the GNU Compiler Collection (GCC)". Retrieved 2011-04-10.
  2. ^ "OpenCores Wiki - OpenRISC GNU toolchain". Retrieved 2014-05-28.