lkml.org 
[lkml]   [2012]   [Mar]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] x86: use enum instead of literals for trap values

    * H. Peter Anvin <hpa@zytor.com> wrote:

    > On 03/09/2012 10:52 AM, Steven Rostedt wrote:
    > > I agree too, except where does "XCP" come from? Is it short for
    > > "exception"?
    >
    > Yes, short for "exception". I hate to admit it, but it comes from the
    > constants we used in the Transmeta microcode ;)

    Hm, were I to see 'X86_XCP_MC' for the first time I'd have no
    idea what it means. Really, lets not use random new
    abbreviations, lets use well-known patterns.

    Make it X86_TRAP_XX, it's both short and correct?

    Thanks,

    Ingo


    \
     
     \ /
      Last update: 2012-03-09 23:17    [W:4.105 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site