This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] x86 interrupt attribute


On Wed, Sep 30, 2015 at 12:53 PM, Yulia Koval <vaalfreja@gmail.com> wrote:
> Done.
>

+  /* If true, the current function is an interrupt service
+     routine as specified by the "interrupt" attribute.  */
+  BOOL_BITFIELD is_interrupt : 1;
+
+  /* If true, the current function is an exception service
+     routine as specified by the "interrupt" attribute.  */
+  BOOL_BITFIELD is_exception : 1;


It is not very clear what is the difference between is_interrupt
and is_exception.  How about

  /* If true, the current function is an interrupt service routine with
     a pointer argument and an optional integer argument as specified by
     the "interrupt" attribute.  */
  BOOL_BITFIELD is_interrupt : 1;

  /* If true, the current function is an interrupt service routine with
     a pointer argument and an integer argument as specified by the
     "interrupt" attribute.  */
  BOOL_BITFIELD is_exception : 1;

-- 
H.J.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]