From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.180]) by ozlabs.org (Postfix) with ESMTP id 52068DDEF7 for ; Thu, 20 Mar 2008 11:06:35 +1100 (EST) Received: by wa-out-1112.google.com with SMTP id m28so726004wag.13 for ; Wed, 19 Mar 2008 17:06:34 -0700 (PDT) Message-ID: Date: Thu, 20 Mar 2008 11:06:34 +1100 From: "Tehn Yit Chin" To: linuxppc-embedded@ozlabs.org Subject: interrupt handlers PowerPC via GCC MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Hi all, Apologies for such a basic question. I am trying to write an ISR on a MPC551x. When I tried to use the interrupt attribute with powerpc-eabi-gcc such as _attribute_((interrupt_handler)) foobarISR(void) { } it complains of a syntax error. Upon further investigation in the GCC, it appears that the interrupt attribute is not supported by powerpc-eabi-gcc. Am I missing something fundamental here? How are the current interrupt service routines created at the moment? Any pointers would be appreciated. tyc