search for: attach_handler

Displaying 3 results from an estimated 3 matches for "attach_handler".

2009 Jul 21
0
[LLVMdev] LLVM and Interrupt Service Routines.
Hi Sanjiv, Assuming that that support for Ada in LLVM is complete, I would look to see if there is something that is done there. Ada provides two pragmas (Interrupt_Handler & Attach_Handler) which allow you to both statically and dynamically attach interrupts to procedures. Alex Karahalios On Jul 21, 2009, at 8:07 AM, <Sanjiv.Gupta at microchip.com> <Sanjiv.Gupta at microchip.com > wrote: > Apparently, there is no explicit support for ISRs in the llvm > fram...
2009 Jul 21
7
[LLVMdev] LLVM and Interrupt Service Routines.
Hi, Apparently, there is no explicit support for ISRs in the llvm framework. I could not find a matching attribute that can be used to mark a function as an ISR, which codegen and optimizer can use accordingly. ISRs aren't called explicity from any function, so currently the optimizer deletes them. We are planning to introduce a new "interrupt" attribute (to be modeled similiar to
2009 Jul 22
3
[LLVMdev] LLVM and Interrupt Service Routines.
Hi Alex, > Assuming that that support for Ada in LLVM is complete, I would look to > see if there is something that is done there. Ada provides two pragmas > (Interrupt_Handler & Attach_Handler) which allow you to both statically > and dynamically attach interrupts to procedures. the interrupt handler itself is a parameterless procedure that does not return a value. As such, I guess calling conventions and so forth are not very relevant for it :) In any case llvm-gcc and gcc mainli...