Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86xpv/ml/panic_asm.s
          +++ new/usr/src/uts/i86xpv/ml/panic_asm.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  #include <sys/panic.h>
  39   37  
  40      -#if !defined(__lint)
  41   38  #include "assym.h"
  42      -#endif
  43   39  
  44      -#if defined(__lint)
  45      -
  46      -void
  47      -xpv_panic_callback(void)
  48      -{}
  49      -
  50      -/* ARGSUSED */
  51      -void
  52      -xpv_panic_setcr3(ulong_t cr3)
  53      -{}
  54      -
  55      -void
  56      -xpv_panic_reload_cr3(void)
  57      -{}
  58      -
  59      -void
  60      -xpv_resetgs(void)
  61      -{}
  62      -
  63      -#else   /* __lint */
  64      -
  65   40  #if defined(__amd64)
  66   41          ENTRY_NP(xpv_panic_getcr3)
  67   42          movq    %cr3, %rax
  68   43          ret
  69   44          SET_SIZE(xpv_panic_getcr3)
  70   45  
  71   46          ENTRY_NP(xpv_panic_setcr3)
  72   47          movq    %rdi, %cr3
  73   48          ret
  74   49          SET_SIZE(xpv_panic_setcr3)
↓ open down ↓ 310 lines elided ↑ open up ↑
 385  360          push    $T_MCE
 386  361          jmp     xpv_panic_prep
 387  362          SET_SIZE(xpv_mcetrap)
 388  363  
 389  364          ENTRY_NP(xpv_xmtrap)
 390  365          push    $0
 391  366          push    $T_SIMDFPE
 392  367          jmp     xpv_panic_prep
 393  368          SET_SIZE(xpv_xmtrap)
 394  369  
 395      -#endif  /* __lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX