diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/addr_map.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/addr_map.h b/include/addr_map.h index 85e737d0f61..55d3a6a165a 100644 --- a/include/addr_map.h +++ b/include/addr_map.h @@ -8,6 +8,14 @@ #include <asm/types.h> +struct addrmap { + phys_addr_t paddr; + phys_size_t size; + unsigned long vaddr; +}; + +extern struct addrmap address_map[CONFIG_SYS_NUM_ADDR_MAP]; + phys_addr_t addrmap_virt_to_phys(void *vaddr); void *addrmap_phys_to_virt(phys_addr_t paddr); void addrmap_set_entry(unsigned long vaddr, phys_addr_t paddr, |
