Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/sun4v/ml/mach_proc_init.s
          +++ new/usr/src/uts/sun4v/ml/mach_proc_init.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 2006 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  /*
  30   28   * sun4v processor initialization
  31   29   *
  32   30   * This is the kernel entry point for CPUs that enter Solaris
  33   31   * directly from the hypervisor. i.e. without going through OBP.
  34   32   */
  35   33  
  36      -#if !defined(lint)
  37   34  #include "assym.h"
  38      -#endif /* !lint */
  39   35  
  40   36  #include <sys/asm_linkage.h>
  41   37  #include <sys/hypervisor_api.h>
  42   38  #include <sys/machasi.h>
  43   39  #include <sys/machpcb.h>
  44   40  #include <sys/machlock.h>
  45   41  #include <sys/mmu.h>
  46   42  #include <sys/lpad.h>
  47   43  
  48      -#if defined(lint)
  49      -
  50      -/* ARGSUSED */
  51      -void
  52      -mach_cpu_startup(uint64_t rabase, uint64_t memsz)
  53      -{}
  54      -
  55      -#else   /* lint */
  56      -
  57   44          /*
  58   45           * %o0 - hcall specified arg (cpuid)
  59   46           * %i0 - real memory base
  60   47           * %i1 - memory size
  61   48           */
  62   49          ENTRY_NP(mach_cpu_startup)
  63   50          /*
  64   51           * Calculate the data pointer. The landing pad
  65   52           * data immediately follows the landing pad text.
  66   53           */
↓ open down ↓ 134 lines elided ↑ open up ↑
 201  188  startup_complete:
 202  189          mov     %l4, %o0
 203  190          jmpl    %l3, %g0
 204  191            stx   %g0, [%l5]                      ! clear the inuse mailbox
 205  192  
 206  193          SET_SIZE(mach_cpu_startup)
 207  194  
 208  195          .global mach_cpu_startup_end
 209  196  mach_cpu_startup_end:
 210  197  
 211      -#endif  /* lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX