Browse Source
The runtime exception handling assembler code used magic numbers for saving and restoring the general purpose register context on stack memory. The memory is interpreted as a 'gp_regs' structure and the magic numbers are offsets to members of this structure. This patch replaces the magic number offsets with constants. It also adds compile time assertions to prevent an incorrect assembler view of this structure. Change-Id: Ibf125bfdd62ba3a33e58c5f1d71f8c229720781cpull/5/head
Achin Gupta
11 years ago
committed by
Dan Handley
5 changed files with 114 additions and 48 deletions
Loading…
Reference in new issue