Print this page
8158 Want named threads API
9857 proc manpages should have LIBRARY section

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c
          +++ new/usr/src/cmd/sgs/elfdump/common/struct_layout_sparcv9.c
↓ open down ↓ 17 lines elided ↑ open up ↑
  18   18   *
  19   19   * CDDL HEADER END
  20   20   */
  21   21  
  22   22  /*
  23   23   * Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  /*
  27   27   * Copyright 2012 DEY Storage Systems, Inc.  All rights reserved.
       28 + * Copyright 2018 Joyent, Inc.
  28   29   */
  29   30  
  30   31  #include <struct_layout.h>
  31   32  
  32   33  
  33   34  static const sl_auxv_layout_t auxv_layout = {
  34   35          { 0,    16,     0,      0 },            /* sizeof (auxv_t) */
  35   36          { 0,    4,      0,      1 },            /* a_type */
  36   37          { 8,    8,      0,      1 },            /* a_un.a_val */
  37   38          { 8,    8,      0,      0 },            /* a_un.a_ptr */
↓ open down ↓ 342 lines elided ↑ open up ↑
 380  381  static const sl_prsecflags_layout_t prsecflags_layout = {
 381  382          { 0,    40,     0,      0 },            /* sizeof (prsecflags_t) */
 382  383          { 0,    4,      0,      0 },            /* pr_version */
 383  384          { 8,    8,      0,      0 },            /* pr_effective */
 384  385          { 16,   8,      0,      0 },            /* pr_inherit */
 385  386          { 24,   8,      0,      0 },            /* pr_lower */
 386  387          { 32,   8,      0,      0 },            /* pr_upper */
 387  388  };
 388  389  
 389  390  
      391 +static const sl_prlwpname_layout_t prlwpname_layout = {
      392 +        { 0,    40,     0,      0 },            /* sizeof (prlwpname_t) */
      393 +        { 0,    8,      0,      0 },            /* pr_lwpid */
      394 +        { 8,    1,      32,     0 },            /* pr_lwpname[] */
      395 +};
 390  396  
 391  397  
      398 +
      399 +
 392  400  static const sl_arch_layout_t layout_sparcv9 = {
 393  401          &auxv_layout,
 394  402          &fltset_layout,
 395  403          &lwpsinfo_layout,
 396  404          &lwpstatus_layout,
 397  405          &prcred_layout,
 398  406          &priv_impl_info_layout,
 399  407          &prpriv_layout,
 400  408          &psinfo_layout,
 401  409          &pstatus_layout,
↓ open down ↓ 2 lines elided ↑ open up ↑
 404  412          &prstatus_layout,
 405  413          &sigaction_layout,
 406  414          &siginfo_layout,
 407  415          &sigset_layout,
 408  416          &stack_layout,
 409  417          &sysset_layout,
 410  418          &timestruc_layout,
 411  419          &utsname_layout,
 412  420          &prfdinfo_layout,
 413  421          &prsecflags_layout,
      422 +        &prlwpname_layout,
 414  423  };
 415  424  
 416  425  
 417  426  const sl_arch_layout_t *
 418  427  struct_layout_sparcv9(void)
 419  428  {
 420  429          return (&layout_sparcv9);
 421  430  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX