Print this page
9210 remove KMDB branch debugging support
9211 ::crregs could do with cr2/cr3 support
9209 ::ttrace should be able to filter by thread
Reviewed by: Patrick Mooney <patrick.mooney@joyent.com>
Reviewed by: Yuri Pankov <yuripv@yuripv.net>

Split Close
Expand all
Collapse all
          --- old/usr/src/cmd/mdb/intel/kmdb/kvm_isadep.h
          +++ new/usr/src/cmd/mdb/intel/kmdb/kvm_isadep.h
↓ open down ↓ 13 lines elided ↑ open up ↑
  14   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  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   * Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  23   23   * Use is subject to license terms.
       24 + *
       25 + * Copyright 2018 Joyent, Inc.
  24   26   */
  25   27  
  26   28  #ifndef _KVM_ISADEP_H
  27   29  #define _KVM_ISADEP_H
  28   30  
  29      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  30      -
  31   31  #ifdef __cplusplus
  32   32  extern "C" {
  33   33  #endif
  34   34  
  35   35  extern uintptr_t kmt_invoke(uintptr_t, uint_t, const uintptr_t *);
  36   36  
  37   37  extern void kmt_in(void *, size_t, uintptr_t);
  38   38  extern void kmt_out(void *, size_t, uintptr_t);
  39   39  
  40   40  extern int kmt_in_dcmd(uintptr_t, uint_t, int, const mdb_arg_t *);
  41   41  extern int kmt_out_dcmd(uintptr_t, uint_t, int, const mdb_arg_t *);
  42   42  
  43   43  extern int kmt_rdmsr(uintptr_t, uint_t, int, const mdb_arg_t *);
  44   44  extern int kmt_wrmsr(uintptr_t, uint_t, int, const mdb_arg_t *);
  45   45  
  46   46  extern int kmt_rdpcicfg(uintptr_t, uint_t, int, const mdb_arg_t *);
  47   47  extern int kmt_wrpcicfg(uintptr_t, uint_t, int, const mdb_arg_t *);
  48      -extern int kmt_msr_validate(const kdi_msr_t *);
  49   48  
  50   49  #ifdef __cplusplus
  51   50  }
  52   51  #endif
  53   52  
  54   53  #endif /* _KVM_ISADEP_H */
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX