5 * Copyright 2008 Freescale Semiconductor, Inc.
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * Version 2 as published by the Free Software Foundation.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 #include <asm/types.h>
24 extern phys_addr_t
addrmap_virt_to_phys(void *vaddr
);
25 extern unsigned long addrmap_phys_to_virt(phys_addr_t paddr
);
26 extern void addrmap_set_entry(unsigned long vaddr
, phys_addr_t paddr
,
27 phys_size_t size
, int idx
);