1/* 2 * Copyright 2010 Tilera Corporation. All Rights Reserved. 3 * 4 * This program is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU General Public License 6 * as published by the Free Software Foundation, version 2. 7 * 8 * This program is distributed in the hope that it will be useful, but 9 * WITHOUT ANY WARRANTY; without even the implied warranty of 10 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or 11 * NON INFRINGEMENT. See the GNU General Public License for 12 * more details. 13 */ 14 15#ifndef _ASM_TILE_KMAP_TYPES_H 16#define _ASM_TILE_KMAP_TYPES_H 17 18/* 19 * In TILE Linux each set of four of these uses another 16MB chunk of 20 * address space, given 64 tiles and 64KB pages, so we only enable 21 * ones that are required by the kernel configuration. 22 */ 23enum km_type { 24 KM_BOUNCE_READ, 25 KM_SKB_SUNRPC_DATA, 26 KM_SKB_DATA_SOFTIRQ, 27 KM_USER0, 28 KM_USER1, 29 KM_BIO_SRC_IRQ, 30 KM_IRQ0, 31 KM_IRQ1, 32 KM_SOFTIRQ0, 33 KM_SOFTIRQ1, 34 KM_MEMCPY0, 35 KM_MEMCPY1, 36#if defined(CONFIG_HIGHPTE) 37 KM_PTE0, 38 KM_PTE1, 39#endif 40 KM_TYPE_NR 41}; 42 43#endif /* _ASM_TILE_KMAP_TYPES_H */ 44