Extra warning in case we find a cache disable bit
This commit is contained in:
parent
6fabbba9e4
commit
0632490ed9
1 changed files with 4 additions and 0 deletions
|
|
@ -305,6 +305,10 @@ static void pt_get_ranges_rec(struct ppn ppn, int level, uint64_t virt_prev,
|
|||
continue;
|
||||
}
|
||||
|
||||
if (ent.cache_disable) {
|
||||
printf("CACHE DISABLED ON LEVEL %d!\n", level);
|
||||
}
|
||||
|
||||
uint64_t virt_part = i << (12 + 9*(level - 1));
|
||||
uint64_t virt_new = virt_prev | virt_part;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue