WIP FPC-III support
[linux/fpc-iii.git] / arch / mips / include / asm / eva.h
bloba3d1807f227c20be944a471c37cdef6c085317ce
1 /*
2 * This file is subject to the terms and conditions of the GNU General Public
3 * License. See the file "COPYING" in the main directory of this archive
4 * for more details.
6 * Copyright (C) 2014, Imagination Technologies Ltd.
8 * EVA functions for generic code
9 */
11 #ifndef _ASM_EVA_H
12 #define _ASM_EVA_H
14 #include <kernel-entry-init.h>
16 #ifdef __ASSEMBLY__
18 #ifdef CONFIG_EVA
21 * EVA early init code
23 * Platforms must define their own 'platform_eva_init' macro in
24 * their kernel-entry-init.h header. This macro usually does the
25 * platform specific configuration of the segmentation registers,
26 * and it is normally called from assembly code.
30 .macro eva_init
31 platform_eva_init
32 .endm
34 #else
36 .macro eva_init
37 .endm
39 #endif /* CONFIG_EVA */
41 #endif /* __ASSEMBLY__ */
43 #endif