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.
21
*-----------------------------------------------------------------------------
23
* This file contains the XFree86 implementations of the OAL
24
* memory.h abstractions.
25
*-----------------------------------------------------------------------------
29
#ifndef _OAL_LINUX_KERNEL_IO_MEMMAP_H
30
#define _OAL_LINUX_KERNEL_IO_MEMMAP_H
33
void * os_map_io_to_mem_nocache(
34
unsigned long base_address,
38
return ioremap(base_address, size);
41
void os_unmap_io_from_mem(