mirror of
https://github.com/crash-utility/crash
synced 2025-02-18 22:46:50 +00:00
ppc64: Add MMU type info in machdep command
This adds MMU type info in "machdep" command. Signed-off-by: Ritesh Harjani <riteshh@linux.ibm.com>
This commit is contained in:
parent
3db5fff2e9
commit
15765867c0
2
ppc64.c
2
ppc64.c
@ -3027,6 +3027,8 @@ ppc64_display_machine_stats(void)
|
||||
else
|
||||
fprintf(fp, "(unknown)\n");
|
||||
fprintf(fp, " HZ: %d\n", machdep->hz);
|
||||
fprintf(fp, " MMU: %s\n", machdep->flags & RADIX_MMU
|
||||
? "RADIX" : "HASH");
|
||||
fprintf(fp, " PAGE SIZE: %d\n", PAGESIZE());
|
||||
// fprintf(fp, " L1 CACHE SIZE: %d\n", l1_cache_size());
|
||||
fprintf(fp, "KERNEL VIRTUAL BASE: %lx\n", machdep->kvbase);
|
||||
|
Loading…
Reference in New Issue
Block a user