search for: parameterless

Displaying 5 results from an estimated 5 matches for "parameterless".

2009 Jul 22
3
[LLVMdev] LLVM and Interrupt Service Routines.
...pport 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 mainline seem to output the interrupt handler as an ordinary function on x86-32-linux. Ciao, Duncan.
2009 Jul 24
0
[LLVMdev] LLVM and Interrupt Service Routines.
Duncan Sands <baldrick at free.fr> writes: > 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 mainline seem > to output the interrupt handler as an ordinary function on > x86-32-linux. There can be significant differences b...
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
2009 Jul 24
4
[LLVMdev] LLVM and Interrupt Service Routines.
On Jul 24, 2009, at 8:47 AM, Jakob Stoklund Olesen wrote: > Duncan Sands <baldrick at free.fr> writes: > >> 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 mainline >> seem >> to output the interrupt handler as an ordinary function on >> x86-...
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