diff options
author | Helge Deller <deller@gmx.de> | 2013-06-29 07:24:16 -0400 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2013-07-09 16:09:19 -0400 |
commit | a83f58bcb24003b9de2364de7c829a263423ead7 (patch) | |
tree | 1d6a4d3d0664dffdd3bcff0a2c305e4ad2581682 /Documentation/parisc/registers | |
parent | 30a9f0b251285ba29f09a7134eee07a4c3aca639 (diff) |
parisc: document the shadow registers
Signed-off-by: Helge Deller <deller@gmx.de>
Cc: <stable@vger.kernel.org> # 3.10
Diffstat (limited to 'Documentation/parisc/registers')
-rw-r--r-- | Documentation/parisc/registers | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Documentation/parisc/registers b/Documentation/parisc/registers index dd3caddd1ad9..10c7d1730f5d 100644 --- a/Documentation/parisc/registers +++ b/Documentation/parisc/registers | |||
@@ -78,6 +78,14 @@ Shadow Registers used by interruption handler code | |||
78 | TOC enable bit 1 | 78 | TOC enable bit 1 |
79 | 79 | ||
80 | ========================================================================= | 80 | ========================================================================= |
81 | |||
82 | The PA-RISC architecture defines 7 registers as "shadow registers". | ||
83 | Those are used in RETURN FROM INTERRUPTION AND RESTORE instruction to reduce | ||
84 | the state save and restore time by eliminating the need for general register | ||
85 | (GR) saves and restores in interruption handlers. | ||
86 | Shadow registers are the GRs 1, 8, 9, 16, 17, 24, and 25. | ||
87 | |||
88 | ========================================================================= | ||
81 | Register usage notes, originally from John Marvin, with some additional | 89 | Register usage notes, originally from John Marvin, with some additional |
82 | notes from Randolph Chung. | 90 | notes from Randolph Chung. |
83 | 91 | ||