Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/i86pc/dboot/dboot_grub.s
          +++ new/usr/src/uts/i86pc/dboot/dboot_grub.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 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#if defined(__lint)
  28      -
  29      -int silence_lint_warnings = 0;
  30      -
  31      -#else /* __lint */
  32      -
  33   27  #include <sys/multiboot.h>
  34   28  #include <sys/multiboot2.h>
  35   29  #include <sys/asm_linkage.h>
  36   30  #include <sys/segments.h>
  37   31  #include <sys/controlregs.h>
  38   32  
  39   33  #include "dboot_xboot.h"
  40   34  
  41   35          .text
  42   36          .globl _start
↓ open down ↓ 322 lines elided ↑ open up ↑
 365  359  
 366  360          /*
 367  361           * We want the GDT to be on its own page for better performance
 368  362           * running under hypervisors.
 369  363           */
 370  364          .skip 4096
 371  365  #include "../boot/boot_gdt.s"
 372  366          .skip 4096
 373  367          .long   0
 374  368  
 375      -#endif /* __lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX