Back to home page

OSCL-LXR

 
 

    


0001 /*
0002  * This file is subject to the terms and conditions of the GNU General Public
0003  * License.  See the file "COPYING" in the main directory of this archive
0004  * for more details.
0005  *
0006  * Copyright (C) 2014, Imagination Technologies Ltd.
0007  *
0008  * EVA functions for generic code
0009  */
0010 
0011 #ifndef _ASM_EVA_H
0012 #define _ASM_EVA_H
0013 
0014 #include <kernel-entry-init.h>
0015 
0016 #ifdef __ASSEMBLY__
0017 
0018 #ifdef CONFIG_EVA
0019 
0020 /*
0021  * EVA early init code
0022  *
0023  * Platforms must define their own 'platform_eva_init' macro in
0024  * their kernel-entry-init.h header. This macro usually does the
0025  * platform specific configuration of the segmentation registers,
0026  * and it is normally called from assembly code.
0027  *
0028  */
0029 
0030 .macro eva_init
0031 platform_eva_init
0032 .endm
0033 
0034 #else
0035 
0036 .macro eva_init
0037 .endm
0038 
0039 #endif /* CONFIG_EVA */
0040 
0041 #endif /* __ASSEMBLY__ */
0042 
0043 #endif