Print this page
de-linting of .s files

Split Close
Expand all
Collapse all
          --- old/usr/src/uts/intel/ia32/ml/modstubs.s
          +++ new/usr/src/uts/intel/ia32/ml/modstubs.s
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright (c) 1992, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   * Copyright 2019 Joyent, Inc.
  25   25   */
  26   26  
  27   27  #include <sys/asm_linkage.h>
  28   28  
  29      -#if defined(__lint)
  30      -
  31      -char stubs_base[1], stubs_end[1];
  32      -
  33      -#else   /* __lint */
  34      -
  35   29  #include "assym.h"
  36   30  
  37   31  /*
  38   32   * !!!!!!!! WARNING! WARNING! WARNING! WARNING! WARNING! WARNING! !!!!!!!!
  39   33   *
  40   34   *      For functions which are either STUBs or WSTUBs the actual function
  41   35   *      need to be called using 'call' instruction because of preamble and
  42   36   *      postamble (i.e mod_hold_stub and mod_release_stub) around the
  43   37   *      function call. Due to this we need to copy arguments for the
  44   38   *      real function. On Intel we can't tell how many arguments are there
↓ open down ↓ 1253 lines elided ↑ open up ↑
1298 1292          END_MODULE(apix);
1299 1293  #endif
1300 1294  
1301 1295  /*
1302 1296   * this is just a marker for the area of text that contains stubs
1303 1297   */
1304 1298  
1305 1299          ENTRY_NP(stubs_end)
1306 1300          nop
1307 1301  
1308      -#endif  /* lint */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX