summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/linkage.h')
-rw-r--r--jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/linkage.h72
1 files changed, 72 insertions, 0 deletions
diff --git a/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/linkage.h b/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/linkage.h
new file mode 100644
index 0000000..55cd4f0
--- /dev/null
+++ b/jacinto6/sgx_src/eurasia_km/services4/srvkm/env/linux/linkage.h
@@ -0,0 +1,72 @@
1/*************************************************************************/ /*!
2@Title Linux specific Services code internal interfaces
3@Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved
4@Description Interfaces between various parts of the Linux specific
5 Services code, that don't have any other obvious
6 header file to go into.
7@License Dual MIT/GPLv2
8
9The contents of this file are subject to the MIT license as set out below.
10
11Permission is hereby granted, free of charge, to any person obtaining a copy
12of this software and associated documentation files (the "Software"), to deal
13in the Software without restriction, including without limitation the rights
14to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15copies of the Software, and to permit persons to whom the Software is
16furnished to do so, subject to the following conditions:
17
18The above copyright notice and this permission notice shall be included in
19all copies or substantial portions of the Software.
20
21Alternatively, the contents of this file may be used under the terms of
22the GNU General Public License Version 2 ("GPL") in which case the provisions
23of GPL are applicable instead of those above.
24
25If you wish to allow use of your version of this file only under the terms of
26GPL, and not to allow others to use your version of this file under the terms
27of the MIT license, indicate your decision by deleting the provisions above
28and replace them with the notice and other provisions required by GPL as set
29out in the file called "GPL-COPYING" included in this distribution. If you do
30not delete the provisions above, a recipient may use your version of this file
31under the terms of either the MIT license or GPL.
32
33This License is also included in this distribution in the file called
34"MIT-COPYING".
35
36EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS
37PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
38BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR
39PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR
40COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
41IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
42CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
43*/ /**************************************************************************/
44#ifndef __LINKAGE_H__
45#define __LINKAGE_H__
46
47#if !defined(SUPPORT_DRI_DRM)
48long PVRSRV_BridgeDispatchKM(struct file *file, unsigned int cmd, unsigned long arg);
49#endif
50
51IMG_VOID PVRDPFInit(IMG_VOID);
52PVRSRV_ERROR PVROSFuncInit(IMG_VOID);
53IMG_VOID PVROSFuncDeInit(IMG_VOID);
54
55#ifdef DEBUG
56
57IMG_INT PVRDebugProcSetLevel(struct file *file, const IMG_CHAR *buffer, IMG_UINT32 count, IMG_VOID *data);
58void ProcSeqShowDebugLevel(struct seq_file *sfile,void* el);
59
60#ifdef PVR_MANUAL_POWER_CONTROL
61IMG_INT PVRProcSetPowerLevel(struct file *file, const IMG_CHAR *buffer, IMG_UINT32 count, IMG_VOID *data);
62
63void ProcSeqShowPowerLevel(struct seq_file *sfile,void* el);
64
65#endif /* PVR_MANUAL_POWER_CONTROL */
66
67#endif /* DEBUG */
68
69#endif /* __LINKAGE_H__ */
70/*****************************************************************************
71 End of file (linkage.h)
72*****************************************************************************/