[BACK]Return to kvm_sh3.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / lib / libkvm

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/lib/libkvm/kvm_sh3.c between version 1.7 and 1.8

version 1.7, 2010/09/19 02:07:00 version 1.8, 2010/09/20 23:23:16
Line 51  __RCSID("$NetBSD$");
Line 51  __RCSID("$NetBSD$");
 #include <sys/proc.h>  #include <sys/proc.h>
 #include <sys/stat.h>  #include <sys/stat.h>
 #include <sys/kcore.h>  #include <sys/kcore.h>
   #include <sys/types.h>
   
 #include <stdlib.h>  #include <stdlib.h>
 #include <unistd.h>  #include <unistd.h>
 #include <nlist.h>  #include <nlist.h>
Line 92  _kvm_initvtop(kvm_t *kd)
Line 94  _kvm_initvtop(kvm_t *kd)
  * Translate a kernel virtual address to a physical address.   * Translate a kernel virtual address to a physical address.
  */   */
 int  int
 _kvm_kvatop(kvm_t *kd, u_long va, u_long *pa)  _kvm_kvatop(kvm_t *kd, vaddr_t va, paddr_t *pa)
 {  {
         _kvm_err(kd, 0, "vatop not yet implemented!");          _kvm_err(kd, 0, "vatop not yet implemented!");
         return 0;          return 0;
Line 102  _kvm_kvatop(kvm_t *kd, u_long va, u_long
Line 104  _kvm_kvatop(kvm_t *kd, u_long va, u_long
  * Translate a physical address to a file-offset in the crash dump.   * Translate a physical address to a file-offset in the crash dump.
  */   */
 off_t  off_t
 _kvm_pa2off(kvm_t *kd, u_long pa)  _kvm_pa2off(kvm_t *kd, paddr_t pa)
 {  {
         _kvm_err(kd, 0, "pa2off not yet implemented!");          _kvm_err(kd, 0, "pa2off not yet implemented!");
         return 0;          return 0;

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

CVSweb <webmaster@jp.NetBSD.org>