From 405cc12255d59427f17ebc017daf9af589e2640e Mon Sep 17 00:00:00 2001 From: Dima Zavin Date: Wed, 26 Sep 2012 14:16:37 -0700 Subject: [PATCH] mobicore: remove useless kernel header Change-Id: I99713461f5211b3322eb0cdb86bc50f9537714a8 Signed-off-by: Dima Zavin --- mobicore/include/Public/mc_kernel_api.h | 81 ------------------------- 1 file changed, 81 deletions(-) delete mode 100644 mobicore/include/Public/mc_kernel_api.h 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. - * - * - * - * 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_ */ -/** @} */ -- 2.20.1