summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJindong Zhang <[email protected]>2015-09-18 23:36:45 +0800
committerJindong Zhang <[email protected]>2015-09-18 23:36:45 +0800
commitabce9b81408e0cca00d6ca0586cb3d695427a716 (patch)
tree748385142fd7daecd7edf9721fdf4f7571573529
parent4f2d38147ff7640426fe4ba240c4d0a92afc4fa0 (diff)
downloadxv6-labs-abce9b81408e0cca00d6ca0586cb3d695427a716.tar.gz
xv6-labs-abce9b81408e0cca00d6ca0586cb3d695427a716.tar.bz2
xv6-labs-abce9b81408e0cca00d6ca0586cb3d695427a716.zip
Fix comments
-rw-r--r--memlayout.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/memlayout.h b/memlayout.h
index 6a62cd7..ce9cdeb 100644
--- a/memlayout.h
+++ b/memlayout.h
@@ -19,4 +19,4 @@ static inline void *p2v(uint a) { return (void *) ((a) + KERNBASE); }
#define P2V(a) (((void *) (a)) + KERNBASE)
#define V2P_WO(x) ((x) - KERNBASE) // same as V2P, but without casts
-#define P2V_WO(x) ((x) + KERNBASE) // same as V2P, but without casts
+#define P2V_WO(x) ((x) + KERNBASE) // same as P2V, but without casts