3 * Copyright (C) 2013-2015 Damien Zammit <damien@zamaudio.com>
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of
8 * the License, or any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
24 extern void *map_physical(off_t phys_addr
, size_t len
);
25 extern void unmap_physical(void *virt_addr
, size_t len
);
26 extern void *map_physical_exact(off_t phys_addr
, void *mapto
, size_t len
);