summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkaashoek <[email protected]>2015-11-15 12:51:54 -0500
committerkaashoek <[email protected]>2015-11-15 12:51:54 -0500
commitb019ac4f7d6b440a965cf9f5efa6cdc21e66b618 (patch)
tree23177694e1c0c7a7723bb859ce5e65b636a8462b
parent9cbe056cec9261138cbea5753996f7b716aef9fb (diff)
parentabce9b81408e0cca00d6ca0586cb3d695427a716 (diff)
downloadxv6-labs-b019ac4f7d6b440a965cf9f5efa6cdc21e66b618.tar.gz
xv6-labs-b019ac4f7d6b440a965cf9f5efa6cdc21e66b618.tar.bz2
xv6-labs-b019ac4f7d6b440a965cf9f5efa6cdc21e66b618.zip
Merge pull request #3 from beordle/master
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