diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-05 11:36:05 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2014-02-12 09:18:00 +0100 |
commit | 97cf623d4ada641b0a59321f0e75a6b323ecf193 (patch) | |
tree | 995ca3143804849f95c778e38c21c33cf2421faa /c/src/lib/libbsp/powerpc/shared | |
parent | bsps/sparc: Fix ambapp_find_by_idx() (diff) | |
download | rtems-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 'c/src/lib/libbsp/powerpc/shared')
0 files changed, 0 insertions, 0 deletions