]> Devi Nivas Git - cs3210-lab0.git/commitdiff
Fix comments
authorJindong Zhang <beordle@gmail.com>
Fri, 18 Sep 2015 15:36:45 +0000 (23:36 +0800)
committerJindong Zhang <beordle@gmail.com>
Fri, 18 Sep 2015 15:36:45 +0000 (23:36 +0800)
memlayout.h

index 6a62cd73123695f86c4d769047d3ed3f9128baa2..ce9cdeb112db5b259a4fa8bd044af71d187aba62 100644 (file)
@@ -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