Linux Kernel
3.7.1
|
Go to the source code of this file.
Functions | |
void | pat_init (void) |
int | reserve_memtype (u64 start, u64 end, unsigned long req_type, unsigned long *ret_type) |
int | free_memtype (u64 start, u64 end) |
int | kernel_map_sync_memtype (u64 base, unsigned long size, unsigned long flag) |
int | io_reserve_memtype (resource_size_t start, resource_size_t end, unsigned long *type) |
void | io_free_memtype (resource_size_t start, resource_size_t end) |
void io_free_memtype | ( | resource_size_t | start, |
resource_size_t | end | ||
) |
int io_reserve_memtype | ( | resource_size_t | start, |
resource_size_t | end, | ||
unsigned long * | type | ||
) |
io_reserve_memtype - Request a memory type mapping for a region of memory : start (physical address) of the region : end (physical address) of the region : A pointer to memtype, with requested type. On success, requested or any other compatible type that was available for the region is returned
On success, returns 0 On failure, returns non-zero