[haiku-commits] Change in haiku[master]: kernel/vm: Dump page protections array address in area command.

  • From: Gerrit <review@xxxxxxxxxxxxxxxxxxx>
  • To: waddlesplash <waddlesplash@xxxxxxxxx>, haiku-commits@xxxxxxxxxxxxx
  • Date: Sun, 23 Aug 2020 00:53:28 +0000

From Michael Lotz <mmlr@xxxxxxxx>:

Michael Lotz has uploaded this change for review. ( 
https://review.haiku-os.org/c/haiku/+/3168 ;)


Change subject: kernel/vm: Dump page protections array address in area command.
......................................................................

kernel/vm: Dump page protections array address in area command.

Had to abbreviate the trailing 's' to make it fit the alignment...
---
M src/system/kernel/vm/vm.cpp
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://git.haiku-os.org:22/haiku refs/changes/68/3168/1

diff --git a/src/system/kernel/vm/vm.cpp b/src/system/kernel/vm/vm.cpp
index 37f2632..d9f6c99 100644
--- a/src/system/kernel/vm/vm.cpp
+++ b/src/system/kernel/vm/vm.cpp
@@ -3435,6 +3435,7 @@
        kprintf("base:\t\t0x%lx\n", area->Base());
        kprintf("size:\t\t0x%lx\n", area->Size());
        kprintf("protection:\t0x%" B_PRIx32 "\n", area->protection);
+       kprintf("page_protection:%p\n", area->page_protections);
        kprintf("wiring:\t\t0x%x\n", area->wiring);
        kprintf("memory_type:\t%#" B_PRIx32 "\n", area->MemoryType());
        kprintf("cache:\t\t%p\n", area->cache);

--
To view, visit https://review.haiku-os.org/c/haiku/+/3168
To unsubscribe, or for help writing mail filters, visit 
https://review.haiku-os.org/settings

Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: Iae88c4cd92c3f54bf3ea3433ea3dafe5df90a8e8
Gerrit-Change-Number: 3168
Gerrit-PatchSet: 1
Gerrit-Owner: Michael Lotz <mmlr@xxxxxxxx>
Gerrit-MessageType: newchange

Other related posts:

  • » [haiku-commits] Change in haiku[master]: kernel/vm: Dump page protections array address in area command. - Gerrit