00001
00044 #ifndef GENERIC_PHYSMEM_NOMMU_H
00045 #define GENERIC_PHYSMEM_NOMMU_H
00046
00047 #include <stdint.h>
00048
00050 #define PHYS_MAP_COHERENT (0)
00051
00052 #define PHYS_MAP_WRBUF (0)
00053
00054 #define PHYS_MAP_WRTHROUGH (0)
00055
00056 #define PHYS_MAP_WRBACK (0)
00057
00071 static inline void *physmem_map(phys_addr_t phys, phys_size_t size,
00072 unsigned long flags)
00073 {
00074 return (void *)(uintptr_t)phys;
00075 }
00076
00086 static inline void physmem_unmap(void *vaddr, phys_size_t size)
00087 {
00088
00089 }
00090
00091 #endif