From a7c03bd91490a10383b7241e41f79e57a09cf212 Mon Sep 17 00:00:00 2001 From: Robert Morris Date: Wed, 24 Aug 2016 13:40:06 -0400 Subject: p2v -> P2V --- memlayout.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'memlayout.h') diff --git a/memlayout.h b/memlayout.h index ce9cdeb..70c1968 100644 --- a/memlayout.h +++ b/memlayout.h @@ -8,13 +8,6 @@ #define KERNBASE 0x80000000 // First kernel virtual address #define KERNLINK (KERNBASE+EXTMEM) // Address where kernel is linked -#ifndef __ASSEMBLER__ - -static inline uint v2p(void *a) { return ((uint) (a)) - KERNBASE; } -static inline void *p2v(uint a) { return (void *) ((a) + KERNBASE); } - -#endif - #define V2P(a) (((uint) (a)) - KERNBASE) #define P2V(a) (((void *) (a)) + KERNBASE) -- cgit v1.2.3