[BACK]Return to kvm_aarch64.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_aarch64.c between version 1.2 and 1.3

version 1.2, 2017/06/14 12:24:51 version 1.3, 2018/04/01 04:35:02
Line 94  lose:
Line 94  lose:
         u_int page_shift;          u_int page_shift;
   
         switch (tg1) {          switch (tg1) {
         case TCR_TG_4KB:          case TCR_TG1_4KB:
                 va_bits = t1siz + 36;                  va_bits = t1siz + 36;
                 page_shift = 12;                  page_shift = 12;
                 break;                  break;
         case TCR_TG_16KB:          case TCR_TG1_16KB:
                 va_bits = 48;                  va_bits = 48;
                 page_shift = 14;                  page_shift = 14;
                 break;                  break;
         case TCR_TG_64KB:          case TCR_TG1_64KB:
                 va_bits = t1siz + 38;                  va_bits = t1siz + 38;
                 page_shift = 16;                  page_shift = 16;
                 break;                  break;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb <webmaster@jp.NetBSD.org>