aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSunita Nadampalli2013-09-13 06:35:59 -0500
committerSunita Nadampalli2013-09-13 06:35:59 -0500
commit2cf98af97f1e826818dafdfe4139506bf4778751 (patch)
tree98af2bf7d4cd07c5a7984f7dcaf561282157ea96 /memplugin.h
parent2951de0afaf2ce000d37ec8505b27b05924012dd (diff)
downloadrepo-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.tar.gz
repo-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.tar.xz
repo-libdce-2cf98af97f1e826818dafdfe4139506bf4778751.zip
[LIBDCE] Add Android specific changes
This patch adds changes specific to Android OS: (1) Semaphore handling (2) Input buffer offset handling Change-Id: Id6232e0b90e638fd1268ccbfafb51c6ca916fad2 Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Diffstat (limited to 'memplugin.h')
-rw-r--r--memplugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/memplugin.h b/memplugin.h
index 1a4a8aa..b8fb866 100644
--- a/memplugin.h
+++ b/memplugin.h
@@ -43,17 +43,17 @@
43#include <omap_drm.h> 43#include <omap_drm.h>
44#include <omap_drmif.h> 44#include <omap_drmif.h>
45#define DEFAULT_REGION MEM_TILER_1D 45#define DEFAULT_REGION MEM_TILER_1D
46#endif /* BUILDOS_LINUX */
47 46
48 47#elif defined(BUILDOS_QNX)
49#if defined(BUILDOS_QNX)
50/* IPC Headers */ 48/* IPC Headers */
51#include <tilermem.h> 49#include <tilermem.h>
52#include <SharedMemoryAllocatorUsr.h> 50#include <SharedMemoryAllocatorUsr.h>
53#include <memmgr.h> 51#include <memmgr.h>
54#define DEFAULT_REGION MEM_TILER_1D 52#define DEFAULT_REGION MEM_TILER_1D
55#endif /* BUILDOS_QNX */
56 53
54#elif defined (BUILDOS_ANDROID)
55#define DEFAULT_REGION MEM_CARVEOUT
56#endif
57 57
58#define P2H(p) (&(((MemHeader *)(p))[-1])) 58#define P2H(p) (&(((MemHeader *)(p))[-1]))
59#define H2P(h) ((void *)&(h)[1]) 59#define H2P(h) ((void *)&(h)[1])