[PATCH 1/2] cpu part of the virtualization layer for i386
Philipp Eppelt
philipp.eppelt at mailbox.tu-dresden.de
Thu Dec 5 14:11:48 UTC 2013
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.
More information about the devel
mailing list