aboutsummaryrefslogtreecommitdiffstats
path: root/src/memmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/memmap.h')
-rw-r--r--src/memmap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/memmap.h b/src/memmap.h
index 9a59024a..092e2ad5 100644
--- a/src/memmap.h
+++ b/src/memmap.h
@@ -10,5 +10,8 @@
static inline u32 virt_to_phys(void *v) {
return (u32)v;
}
+static inline void *memremap(u32 addr, u32 len) {
+ return (void*)addr;
+}
#endif // memmap.h