On 12/03/2013 05:41 PM, Gedare Bloom wrote: > On Wed, Nov 27, 2013 at 5:55 PM, Philipp Eppelt >> +#ifndef RTEMS_VIRT_LAYER_CPU_H >> +#define RTEMS_VIRT_LAYER_CPU_H >> + >> +#ifndef ASM >> + >> +/* Interrupts */ >> + >> +/** >> + * \brief Requests an interrupt vector. >> + */ >> +int >> +_CPU_Virtual_Irq_request( int vector ); >> + >> +/** >> + * \brief Releases an interrupt vector. >> + */ >> +void >> +_CPU_Virtual_Irq_detach( int vector ); > Should we use release instead of detach? what is "normal"?
'release' is too strong, one doesn't acquire and control the interrupt line, one just requests to get notified. Therefore I would stick with detach. L4Re uses attach/detach, but I think request is better suited, as it implies that the request can be denied. _______________________________________________ rtems-devel mailing list rtems-devel@rtems.org http://www.rtems.org/mailman/listinfo/rtems-devel