• Atish Patra's avatar
    RISC-V: Add page table dump support for uefi · de22d210
    Atish Patra authored
    Extend the current page table dump support in RISC-V to include efi
    pages as well.
    
    Here is the output of efi runtime page table mappings.
    
    ---[ UEFI runtime start ]---
    0x0000000020002000-0x0000000020003000 0x00000000be732000 4K PTE D A . . . W R V
    0x0000000020018000-0x0000000020019000 0x00000000be738000 4K PTE D A . . . W R V
    0x000000002002c000-0x000000002002d000 0x00000000be73c000 4K PTE D A . . . W R V
    0x0000000020031000-0x0000000020032000 0x00000000bff61000 4K PTE D A . . X W R V
    ---[ UEFI runtime end ]---
    Signed-off-by: default avatarAtish Patra <atish.patra@wdc.com>
    Reviewed-by: default avatarAnup Patel <anup@brainfault.org>
    Signed-off-by: default avatarPalmer Dabbelt <palmerdabbelt@google.com>
    de22d210
ptdump.c 7.16 KB