This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH - SH] trap_exit and sp_switch with interrupt_handler attribute
- From: Joern Rennecke <joern dot rennecke at superh dot com>
- To: AsgariJ at KPITCummins dot com (Asgari J. Jinia)
- Cc: joern dot rennecke at superh dot com (Joern Rennecke), gcc-patches at gcc dot gnu dot org
- Date: Thu, 12 Aug 2004 15:16:23 +0100 (BST)
- Subject: Re: [PATCH - SH] trap_exit and sp_switch with interrupt_handler attribute
> I found during testing of patch that 'rte' is required after 'trapa'=20
> so that it can go back to where it was interrupted from. I have
Huh? What happens after trapa dependens on what you put into your trapa
handler. The documentation says that trapa is used *instead* of rte,
so the trapa handler should implement the actual interrupt return.