2
*-----------------------------------------------------------------------------
5
*-----------------------------------------------------------------------------
6
* Copyright © 2002-2010, Intel Corporation.
8
* This program is free software; you can redistribute it and/or modify it
9
* under the terms and conditions of the GNU General Public License,
10
* version 2, as published by the Free Software Foundation.
12
* This program is distributed in the hope it will be useful, but WITHOUT
13
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
17
* You should have received a copy of the GNU General Public License along with
18
* this program; if not, write to the Free Software Foundation, Inc.,
19
* 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
20
*-----------------------------------------------------------------------------
22
* This file contains the XFree86 implementations of the OAL
23
* memory.h abstractions.
24
*-----------------------------------------------------------------------------
28
#ifndef _OAL_LINUX_KERNEL_IO_MEMMAP_H
29
#define _OAL_LINUX_KERNEL_IO_MEMMAP_H
32
void * os_map_io_to_mem_nocache(
33
unsigned long base_address,
37
return ioremap(base_address, size);
40
void os_unmap_io_from_mem(