Remove the KADDR check from pahexdump()
authorBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Oct 2019 21:01:32 +0000 (17:01 -0400)
committerBarret Rhoden <brho@cs.berkeley.edu>
Tue, 8 Oct 2019 21:11:11 +0000 (17:11 -0400)
We're hexdumping physical memory.  Just hexdump the damn thing.

Signed-off-by: Barret Rhoden <brho@cs.berkeley.edu>
kern/src/hexdump.c

index 19493c4..4495ddd 100644 (file)
@@ -70,7 +70,8 @@ void hexdump(void *v, int length)
 /* easier in monitor */
 void pahexdump(uintptr_t pa, int len)
 {
-       void *v = KADDR(pa);
+       void *v = KADDR_NOCHECK(pa);
+
        hexdump(v, len);
 }