lkml.org 
[lkml]   [2023]   [Sep]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRE: [PATCH v11 05/37] x86/trapnr: Add event type macros to <asm/trapnr.h>
    Date
    > >> +EVENT_TYPE_PRIV_SWEXC    5    // INT1 #define EVENT_TYPE_SWEXC    6
    > >> +// INTO, INT3
    > >
    > > nit: This turned into INTO (Oh) rather than INT0( zero) in v11
    >
    > Yes, v11 corrected a bug in v10.
    >
    > The INTO instruction is "INT on Overflow".  No zero involved.
    >
    > INT3 is thusly named because it generates vector 3.  Similarly for INT1 although it
    > had the unofficial name ICEBP long before INT1 got documented.
    >
    > If INTO were to have a number, it would need to be 4, but it's behaviour is
    > conditional on the overflow flag, unlike INT3/1 which are unconditional
    > exceptions.

    live x86 SDM!
    \
     
     \ /
      Last update: 2023-09-27 18:52    [W:5.916 / U:0.256 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site