Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/ml/hyperevent.s
          +++ new/usr/src/uts/i86xpv/ml/hyperevent.s
↓ open down ↓ 16 lines elided ↑ open up ↑
  17   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  #include <sys/asm_linkage.h>
  30   28  #include <sys/hypervisor.h>
  31   29  #include <sys/privregs.h>
  32   30  #include <sys/segments.h>
  33   31  #include <sys/traptrace.h>
  34   32  #include <sys/trap.h>
  35   33  #include <sys/psw.h>
  36   34  #include <sys/x86_archext.h>
  37   35  #include <sys/asm_misc.h>
  38   36  
  39      -#if !defined(__lint)
  40   37  #include "assym.h"
  41      -#endif
  42   38  
  43      -#if defined(__lint)
  44      -
  45      -void
  46      -xen_failsafe_callback(void)
  47      -{}
  48      -
  49      -void
  50      -xen_callback(void)
  51      -{}
  52      -
  53      -#else   /* __lint */
  54      -
  55   39          /*
  56   40           * The stack frame for events is exactly that of an x86 hardware
  57   41           * interrupt.
  58   42           *
  59   43           * The stack frame for a failsafe callback is augmented with saved
  60   44           * values for segment registers:
  61   45           *
  62   46           * i386
  63   47           *      %ds, %es, %fs, %gs, %eip, %cs, %eflags [, %oldesp, %oldss ]
  64   48           *
↓ open down ↓ 174 lines elided ↑ open up ↑
 239  223          pushl   %ebp                    /* pass struct regs pointer */
 240  224          call    xen_callback_handler
 241  225          addl    $8, %esp
 242  226  
 243  227          jmp     _sys_rtt_ints_disabled
 244  228          /*NOTREACHED*/
 245  229  
 246  230          SET_SIZE(xen_callback)
 247  231  
 248  232  #endif  /* __i386 */
 249      -#endif  /* __lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX