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_MMU_CONTEXT_64_H
13 #define __ASM_SH_MMU_CONTEXT_64_H
15 #include <cpu/registers.h>
16 #include <asm/cacheflush.h>
18 #define SR_ASID_MASK 0xffffffffff00ffffULL
19 #define SR_ASID_SHIFT 16
21 #define set_TTB(pgd) (mmu_pdtp_cache = (pgd))
22 #define get_TTB() (mmu_pdtp_cache)
24 #endif