diff options
author | Jindong Zhang <[email protected]> | 2015-09-18 23:36:45 +0800 |
---|---|---|
committer | Jindong Zhang <[email protected]> | 2015-09-18 23:36:45 +0800 |
commit | abce9b81408e0cca00d6ca0586cb3d695427a716 (patch) | |
tree | 748385142fd7daecd7edf9721fdf4f7571573529 | |
parent | 4f2d38147ff7640426fe4ba240c4d0a92afc4fa0 (diff) | |
download | xv6-labs-abce9b81408e0cca00d6ca0586cb3d695427a716.tar.gz xv6-labs-abce9b81408e0cca00d6ca0586cb3d695427a716.tar.bz2 xv6-labs-abce9b81408e0cca00d6ca0586cb3d695427a716.zip |
Fix comments
-rw-r--r-- | memlayout.h | 2 |
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 |