| 1 | /* |
| 2 | * This confidential and proprietary software may be used only as |
| 3 | * authorised by a licensing agreement from ARM Limited |
| 4 | * (C) COPYRIGHT 2009-2010, 2012-2013 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_ukk_wrappers.h |
| 13 | * Defines the wrapper functions which turn Linux IOCTL calls into _ukk_ calls |
| 14 | */ |
| 15 | |
| 16 | #ifndef __UMP_UKK_WRAPPERS_H__ |
| 17 | #define __UMP_UKK_WRAPPERS_H__ |
| 18 | |
| 19 | #include <linux/kernel.h> |
| 20 | #include "ump_kernel_common.h" |
| 21 | |
| 22 | #ifdef __cplusplus |
| 23 | extern "C" { |
| 24 | #endif |
| 25 | |
| 26 | |
| 27 | |
| 28 | int ump_get_api_version_wrapper(u32 __user * argument, struct ump_session_data * session_data); |
| 29 | int ump_release_wrapper(u32 __user * argument, struct ump_session_data * session_data); |
| 30 | int ump_size_get_wrapper(u32 __user * argument, struct ump_session_data * session_data); |
| 31 | int ump_msync_wrapper(u32 __user * argument, struct ump_session_data * session_data); |
| 32 | int ump_cache_operations_control_wrapper(u32 __user * argument, struct ump_session_data * session_data); |
| 33 | int ump_switch_hw_usage_wrapper(u32 __user * argument, struct ump_session_data * session_data); |
| 34 | int ump_lock_wrapper(u32 __user * argument, struct ump_session_data * session_data); |
| 35 | int ump_unlock_wrapper(u32 __user * argument, struct ump_session_data * session_data); |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | #ifdef __cplusplus |
| 41 | } |
| 42 | #endif |
| 43 | |
| 44 | |
| 45 | |
| 46 | #endif /* __UMP_UKK_WRAPPERS_H__ */ |