[PATCH] x86 interrupt attribute

H.J. Lu hjl.tools@gmail.com
Thu Oct 1 00:24:00 GMT 2015


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.



More information about the Gcc-patches mailing list