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
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.
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__ */