blob: d7744beed04061eb67602fe1e3423d0910082c2f [file] [log] [blame]
Tony SIM1d7a8942010-01-28 17:04:55 +09001/****************************************************************************
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
14
15#include <cpu/registers.h>
16#include <asm/cacheflush.h>
17
18#define SR_ASID_MASK 0xffffffffff00ffffULL
19#define SR_ASID_SHIFT 16
20
21#define set_TTB(pgd) (mmu_pdtp_cache = (pgd))
22#define get_TTB() (mmu_pdtp_cache)
23
24#endif