2 * Copyright (C) 2010 ARM Limited. All rights reserved.
4 * This program is free software and is provided to you under the terms of the GNU General Public License version 2
5 * as published by the Free Software Foundation, and any use by you of this program is subject to the terms of such GNU licence.
7 * A copy of the licence is included with the program, and can also be obtained from Free Software
8 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
12 * @file ump_kernel_platform.h
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.
19 #ifndef __UMP_KERNEL_PLATFORM_H__
20 #define __UMP_KERNEL_PLATFORM_H__
22 /** @addtogroup ump_kernel_space_api
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.
32 #if defined(UMP_BUILDING_UMP_LIBRARY)
33 #define UMP_KERNEL_API_EXPORT __declspec(dllexport)
35 #define UMP_KERNEL_API_EXPORT __declspec(dllimport)
40 #define UMP_KERNEL_API_EXPORT
45 /** @} */ /* end group ump_kernel_space_api */
48 #endif /* __UMP_KERNEL_PLATFORM_H__ */