Print this page
OS-2444 richmond hardware maps need to support ivy bridge

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/fm/topo/libtopo/common/topo_mod.h
          +++ new/usr/src/lib/fm/topo/libtopo/common/topo_mod.h
↓ open down ↓ 14 lines elided ↑ open up ↑
  15   15   * If applicable, add the following below this CDDL HEADER, with the
  16   16   * fields enclosed by brackets "[]" replaced with your own identifying
  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 (c) 2006, 2010, Oracle and/or its affiliates. All rights reserved.
  24   24   */
       25 +/*
       26 + * Copyright (c) 2013, Joyent, Inc. All rights reserved.
       27 + */
  25   28  
  26   29  #ifndef _TOPO_MOD_H
  27   30  #define _TOPO_MOD_H
  28   31  
  29   32  #include <fm/libtopo.h>
  30   33  #include <fm/topo_hc.h>
  31   34  #include <libipmi.h>
  32   35  #include <libnvpair.h>
  33   36  #include <libdevinfo.h>
  34   37  #include <smbios.h>
↓ open down ↓ 173 lines elided ↑ open up ↑
 208  211  #define TOPO_PROP_METH_DESC             "Dynamic Property method"
 209  212  
 210  213  #define TOPO_METH_IPMI_ENTITY           "ipmi_entity"
 211  214  #define TOPO_METH_FAC_ENUM_DESC         "Facility Enumerator"
 212  215  
 213  216  extern void *topo_mod_alloc(topo_mod_t *, size_t);
 214  217  extern void *topo_mod_zalloc(topo_mod_t *, size_t);
 215  218  extern void topo_mod_free(topo_mod_t *, void *, size_t);
 216  219  extern char *topo_mod_strdup(topo_mod_t *, const char *);
 217  220  extern void topo_mod_strfree(topo_mod_t *, char *);
      221 +extern char *topo_mod_strsplit(topo_mod_t *, const char *, const char *,
      222 +    char **);
 218  223  extern int topo_mod_nvalloc(topo_mod_t *, nvlist_t **, uint_t);
 219  224  extern int topo_mod_nvdup(topo_mod_t *, nvlist_t *, nvlist_t **);
 220  225  
 221  226  extern void topo_mod_clrdebug(topo_mod_t *);
 222  227  extern void topo_mod_setdebug(topo_mod_t *);
 223  228  extern void topo_mod_dprintf(topo_mod_t *, const char *, ...);
 224  229  extern const char *topo_mod_errmsg(topo_mod_t *);
 225  230  extern int topo_mod_errno(topo_mod_t *);
 226  231  
 227  232  /*
↓ open down ↓ 66 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX