forked from crash-utility/crash
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
LoongArch64: Add 'pte' command support
The pte command converts the pte table entry into a physical address and displays the page flags. Also fixed the pte part in the vtop command. E.g. With this patch: ... crash> vtop fffb8bf772 VIRTUAL PHYSICAL fffb8bf772 40000001231bf772 SEGMENT: xuvrange PAGE DIRECTORY: 9000000096d10000 PGD: 9000000096d10078 => 900000009665c000 PMD: 000000009665ffe8 => 9000000098894000 PTE: 0000000098897178 => 40000001231bc39f PAGE: 40000001231bc000 PTE PHYSICAL FLAGS 40000001231bc39f 40000001231bc000 (VALID|DIRTY|PLV|PRESENT|WRITE|PROTNONE|NO_EXEC) VMA START END FLAGS FILE 90000000a4927660 fffb89c000 fffb8c0000 100173 Co-developed-by: Youling Tang <[email protected]> Signed-off-by: Youling Tang <[email protected]> Signed-off-by: Ming Wang <[email protected]>
- Loading branch information
Showing
1 changed file
with
122 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters