rockchip:mali400:init r4p0-00rel0 for rk3036,version to 0x01
[firefly-linux-kernel-4.4.55.git] / drivers / gpu / arm / mali400 / include / ump / ump_kernel_platform.h
1 /*
2  * This confidential and proprietary software may be used only as
3  * authorised by a licensing agreement from ARM Limited
4  * (C) COPYRIGHT 2008-2010 ARM Limited
5  * ALL RIGHTS RESERVED
6  * The entire notice above must be reproduced on all authorised
7  * copies and copies may only be made to the extent permitted
8  * by a licensing agreement from ARM Limited.
9  */
10
11 /**
12  * @file ump_kernel_platform.h
13  *
14  * This file should define UMP_KERNEL_API_EXPORT,
15  * which dictates how the UMP kernel API should be exported/imported.
16  * Modify this file, if needed, to match your platform setup.
17  */
18
19 #ifndef __UMP_KERNEL_PLATFORM_H__
20 #define __UMP_KERNEL_PLATFORM_H__
21
22 /** @addtogroup ump_kernel_space_api
23  * @{ */
24
25 /**
26  * A define which controls how UMP kernel space API functions are imported and exported.
27  * This define should be set by the implementor of the UMP API.
28  */
29
30 #if defined(_WIN32)
31
32 #if defined(UMP_BUILDING_UMP_LIBRARY)
33 #define UMP_KERNEL_API_EXPORT __declspec(dllexport)
34 #else
35 #define UMP_KERNEL_API_EXPORT __declspec(dllimport)
36 #endif
37
38 #else
39
40 #define UMP_KERNEL_API_EXPORT
41
42 #endif
43
44
45 /** @} */ /* end group ump_kernel_space_api */
46
47
48 #endif /* __UMP_KERNEL_PLATFORM_H__ */