Skip to contentSkip to conversation

Command lspaging to show paging table

PATCH New Vladimir Serbinenko 1 participant 1 message Apr 18, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Command lspaging to show paging table

This command for x86_64 and arm64 shows current paging table on platforms in question.

---
 grub-core/Makefile.core.def          |   8 ++
 grub-core/commands/arm64/lspaging.c  | 138 +++++++++++++++++++++++++++
 grub-core/commands/x86_64/lspaging.c | 115 ++++++++++++++++++++++
 3 files changed, 261 insertions(+)
 create mode 100644 grub-core/commands/arm64/lspaging.c
 create mode 100644 grub-core/commands/x86_64/lspaging.c
grub-core/Makefile.core.def +8 -0
index f70e02e69..7f8cb3f7d 100644
@@ -814,6 +814,14 @@ module = {
   enable = efi;
 };
 
+module = {
+  name = lspaging;
+  x86_64_efi = commands/x86_64/lspaging.c;
+  arm64_efi = commands/arm64/lspaging.c;
+  enable = arm64_efi;
+  enable = x86_64_efi;
+};
+
 module = {
   name = lsefimmap;
 
grub-core/commands/arm64/lspaging.c new file +138 -0

138 lines not on this page · raw message

grub-core/commands/x86_64/lspaging.c new file +115 -0

115 lines not on this page · raw message

Signature · 7 lines
2.49.0


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel