[BACK]Return to kvm_i386.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_i386.c between version 1.20 and 1.21

version 1.20, 2003/08/07 16:44:37 version 1.21, 2004/08/27 01:13:31
Line 117  _kvm_kvatop(kd, va, pa)
Line 117  _kvm_kvatop(kd, va, pa)
         /*          /*
          * Find and read the page directory entry.           * Find and read the page directory entry.
          */           */
         pde_pa = cpu_kh->ptdpaddr + (pdei(va) * sizeof(pd_entry_t));          pde_pa = cpu_kh->pdppaddr + (pdei(va) * sizeof(pd_entry_t));
         if (pread(kd->pmfd, (void *)&pde, sizeof(pde),          if (pread(kd->pmfd, (void *)&pde, sizeof(pde),
             _kvm_pa2off(kd, pde_pa)) != sizeof(pde)) {              _kvm_pa2off(kd, pde_pa)) != sizeof(pde)) {
                 _kvm_syserr(kd, 0, "could not read PDE");                  _kvm_syserr(kd, 0, "could not read PDE");

Legend:
Removed from v.1.20  
changed lines
  Added in v.1.21

CVSweb <webmaster@jp.NetBSD.org>