summaryrefslogtreecommitdiffstats
path: root/doc/user/example.texi
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-05 11:36:05 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2014-02-12 09:18:00 +0100
commit97cf623d4ada641b0a59321f0e75a6b323ecf193 (patch)
tree995ca3143804849f95c778e38c21c33cf2421faa /doc/user/example.texi
parent62c5c4a56473bdffe58d5e61fc157fc2889553e3 (diff)
downloadrtems-97cf623d4ada641b0a59321f0e75a6b323ecf193.tar.bz2
sparc: Save/restore only non-volatile context
The _CPU_Context_switch() is a normal function call. The following registers are volatile (the caller must assume that the register contents are destroyed by the callee) according to "SYSTEM V APPLICATION BINARY INTERFACE - SPARC Processor Supplement", Third Edition: g1, o0, o1, o2, o3, o4, o5. Drop these registers from the context. Ensure that offset defines match the structure offsets.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions