1 /**************************************************************************** 2 **************************************************************************** 3 *** 4 *** This header was automatically generated from a Linux kernel header 5 *** of the same name, to make information necessary for userspace to 6 *** call into the kernel available to libc. It contains only constants, 7 *** structures, and macros generated from the original header, and thus, 8 *** contains no copyrightable information. 9 *** 10 **************************************************************************** 11 ****************************************************************************/ 12 #ifndef __ASM_SH_TLB_64_H 13 #define __ASM_SH_TLB_64_H 14 15 #define ITLB_FIXED 0x00000000 16 #define ITLB_LAST_VAR_UNRESTRICTED 0x000003F0 17 18 #define DTLB_FIXED 0x00800000 19 #define DTLB_LAST_VAR_UNRESTRICTED 0x008003F0 20 21 #ifndef __ASSEMBLY__ 22 23 #define for_each_dtlb_entry(tlb) for (tlb = cpu_data->dtlb.first; tlb <= cpu_data->dtlb.last; tlb += cpu_data->dtlb.step) 24 25 #define for_each_itlb_entry(tlb) for (tlb = cpu_data->itlb.first; tlb <= cpu_data->itlb.last; tlb += cpu_data->itlb.step) 26 27 #endif 28 #endif 29