|author||Sebastian Huber <email@example.com>||2014-04-22 10:40:26 +0200|
|committer||Sebastian Huber <firstname.lastname@example.org>||2014-04-28 09:26:19 +0200|
sparc: Document register g7 usage
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/cpu_supplement/sparc.t b/doc/cpu_supplement/sparc.t
index 320c250e40..a6862c8aa2 100644
@@ -401,6 +401,9 @@ The registers g2 through g4 are reserved for applications. GCC uses them as
volatile registers by default. So they are treated like volatile registers in
RTEMS as well.
+The register g7 is reserved for the operating system and contains the thread
+pointer used for thread-local storage (TLS) as mandated by the SPARC ABI.
@subsubsection Floating Point Registers
The SPARC V7 architecture includes thirty-two,