00001 /*00002 * Copyright (C) 2016 Michael Brown <mbrown@fensystems.co.uk>.00003 *00004 * This program is free software; you can redistribute it and/or00005 * modify it under the terms of the GNU General Public License as00006 * published by the Free Software Foundation; either version 2 of the00007 * License, or (at your option) any later version.00008 *00009 * This program is distributed in the hope that it will be useful, but00010 * WITHOUT ANY WARRANTY; without even the implied warranty of00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU00012 * General Public License for more details.00013 *00014 * You should have received a copy of the GNU General Public License00015 * along with this program; if not, write to the Free Software00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA00017 * 02110-1301, USA.00018 *00019 * You can also choose to distribute this program under the terms of00020 * the Unmodified Binary Distribution Licence (as given in the file00021 * COPYING.UBDL), provided that you have satisfied its requirements.00022 */00023
00024 FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
00025 00026 /** @file00027 *00028 * iPXE I/O mapping API using phys_to_virt()00029 *00030 */00031
00032 #include <ipxe/iomap.h>00033
00034 PROVIDE_IOMAP_INLINE ( virt, ioremap );
00035 PROVIDE_IOMAP_INLINE ( virt, iounmap );
00036 PROVIDE_IOMAP_INLINE ( virt, io_to_bus );