summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSathishkumar2013-07-30 00:50:14 -0500
committerSaurabh Bipin Chandra2013-08-27 16:12:42 -0500
commitf71e00630af23f1dd7d2a0df87d9b5b524c823a8 (patch)
tree956d57896e212423862da2031aabaa50ba2d7f01 /libdce.h
parent17668bcb5a1f7f9db2ba225b1825bc55365c3e66 (diff)
downloadhardware-ti-libdce-f71e00630af23f1dd7d2a0df87d9b5b524c823a8.tar.gz
hardware-ti-libdce-f71e00630af23f1dd7d2a0df87d9b5b524c823a8.tar.xz
hardware-ti-libdce-f71e00630af23f1dd7d2a0df87d9b5b524c823a8.zip
[GLP] Libdce linux implementation
make install & libdce.c issue fix 1. make install has been fixed. libdce.h will be installed in /usr/include, libdce.so files in /usr/lib and libdce.pc in /usr/lib/pkgconfig on using --prefix=/usr. By default the prefix is /usr/local. 2. init and deinit calls are removed from libdce.h 3. dce_set_fd and dce_get_fd calls are implemented in libdce.c 4. configure.ac checks for libmmrpc and makefile.am modified to link with libmmrpc. configure.ac and makefile.am modified 1. Codec_engine,xdctolls,framework_components,ipc,xdctools and xdaias paths needs to be exported. Configure.ac checks for the exported paths. 2. Makefile.am is modified to have the exported paths in the include directories list for the compiler. Modifications done after review 1. Comments added in memplugin_linux.c. White spaces removed manually and cleaned up libdce.c, memplugin.h. dce_priv.h is modified to have File and line number in the logs. linux/dce.h file is removed. Libdce modifications for linux Linux Specific libdce functionality added. 1. memplugin calls specific to linux are added in memplugin_linux.c 2. Error and debug logs implementation for linux in dce_priv.h 3. xll and wayland specific files are moved to linux folder Change-Id: Ib41e6a52d902376cdabbb939dee7585944720d92 Signed-off-by: Saurabh Bipin Chandra <a0131926@ti.com> Signed-off-by: Sathishkumar <x0203598@ti.com>
Diffstat (limited to 'libdce.h')
-rw-r--r--libdce.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libdce.h b/libdce.h
index c64456a..9f7dcd7 100644
--- a/libdce.h
+++ b/libdce.h
@@ -60,7 +60,7 @@ void *dce_alloc(int sz);
60void dce_free(void *ptr); 60void dce_free(void *ptr);
61 61
62 62
63#if defined(BUILDOS_GLP) 63#if defined(BUILDOS_LINUX)
64void dce_set_fd(int fd); 64void dce_set_fd(int fd);
65int dce_get_fd(); 65int dce_get_fd();
66 66
@@ -68,12 +68,9 @@ int dce_get_fd();
68#define xdc__ARGTOPTR 68#define xdc__ARGTOPTR
69#define xdc__ARGTOFXN 69#define xdc__ARGTOFXN
70 70
71struct omap_device *dce_init(void);
72void dce_deinit(struct omap_device *dev);
73
74#define XDM_MEMTYPE_BO 10 71#define XDM_MEMTYPE_BO 10
75#define XDM_MEMTYPE_BO_OFFSET 11 72#define XDM_MEMTYPE_BO_OFFSET 11
76#endif /* BUILDOS_GLP */ 73#endif /* BUILDOS_LINUX */
77 74
78#endif /* __LIBDCE_H__ */ 75#endif /* __LIBDCE_H__ */
79 76