Skip to content

Commit

Permalink
parisc: document the shadow registers
Browse files Browse the repository at this point in the history
commit a83f58bcb24003b9de2364de7c829a263423ead7 upstream.

Signed-off-by: Helge Deller <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
  • Loading branch information
hdeller authored and gregkh committed Jul 22, 2013
1 parent b6891ed commit fa8223d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Documentation/parisc/registers
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,14 @@ PSW default E value 0
Shadow Registers used by interruption handler code
TOC enable bit 1

=========================================================================

The PA-RISC architecture defines 7 registers as "shadow registers".
Those are used in RETURN FROM INTERRUPTION AND RESTORE instruction to reduce
the state save and restore time by eliminating the need for general register
(GR) saves and restores in interruption handlers.
Shadow registers are the GRs 1, 8, 9, 16, 17, 24, and 25.

=========================================================================
Register usage notes, originally from John Marvin, with some additional
notes from Randolph Chung.
Expand Down

0 comments on commit fa8223d

Please sign in to comment.