diff options
author | Dima Zavin <dima@android.com> | 2012-09-26 14:16:37 -0700 |
---|---|---|
committer | Dima Zavin <dima@android.com> | 2012-09-28 09:46:06 -0700 |
commit | 405cc12255d59427f17ebc017daf9af589e2640e (patch) | |
tree | dfaafd2d2a5fe4e0ee74c880d8a9d3831a15b117 /mobicore | |
parent | 7b143edf281bed18c8ebd0733465f3af5af327eb (diff) | |
download | exynos5-405cc12255d59427f17ebc017daf9af589e2640e.tar.gz |
mobicore: remove useless kernel header
Change-Id: I99713461f5211b3322eb0cdb86bc50f9537714a8
Signed-off-by: Dima Zavin <dima@android.com>
Diffstat (limited to 'mobicore')
-rw-r--r-- | mobicore/include/Public/mc_kernel_api.h | 81 |
1 files changed, 0 insertions, 81 deletions
diff --git a/mobicore/include/Public/mc_kernel_api.h b/mobicore/include/Public/mc_kernel_api.h deleted file mode 100644 index 03e6062..0000000 --- a/mobicore/include/Public/mc_kernel_api.h +++ /dev/null @@ -1,81 +0,0 @@ -/** @addtogroup MCD_MCDIMPL_KMOD_KAPI Mobicore Driver Module API inside Kernel. - * @ingroup MCD_MCDIMPL_KMOD - * @{ - * Interface to Mobicore Driver Kernel Module inside Kernel. - * @file - * - * Interface to be used by module MobiCoreKernelAPI. - * - * <!-- Copyright Giesecke & Devrient GmbH 2010-2012 --> - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License version 2 as - * published by the Free Software Foundation. - */ - -#ifndef _MOBICORE_KERNELMODULE_API_H_ -#define _MOBICORE_KERNELMODULE_API_H_ - -struct mc_instance; - -/** - * Initialize a new mobicore API instance object - * - * @return Instance or NULL if no allocation was possible. - */ -struct mc_instance *mobicore_open(void); - -/** - * Release a mobicore instance object and all objects related to it - * @param instance instance - * @return 0 if Ok or -E ERROR - */ -int mobicore_release(struct mc_instance *instance); - -/** - * Free a WSM buffer allocated with mobicore_allocate_wsm - * @param instance - * @param handle handle of the buffer - * - * @return 0 if no error - * - */ -int mobicore_allocate_wsm(struct mc_instance *instance, - unsigned long requested_size, uint32_t *handle, void **virt_kernel_addr, - void **phys_addr); - -/** - * Free a WSM buffer allocated with mobicore_allocate_wsm - * @param instance - * @param handle handle of the buffer - * - * @return 0 if no error - * - */ -int mobicore_free_wsm(struct mc_instance *instance, uint32_t handle); - -/** - * Map a virtual memory buffer structure to Mobicore - * @param instance - * @param addr address of the buffer(NB it must be kernel virtual!) - * @param len buffer length - * @param handle pointer to handle - * @param phys pointer to physical L2 table(?) - * - * @return 0 if no error - * - */ -int mobicore_map_vmem(struct mc_instance *instance, void *addr, - uint32_t len, uint32_t *handle, uint32_t *phys); - -/** - * Unmap a virtual memory buffer from mobicore - * @param instance - * @param handle - * - * @return 0 if no error - * - */ -int mobicore_unmap_vmem(struct mc_instance *instance, uint32_t handle); -#endif /* _MOBICORE_KERNELMODULE_API_H_ */ -/** @} */ |