[processor-sdk/big-data-ipc-examples.git] / host_bios / simple_buffer_example / shared / AppCommon.h
diff --git a/host_bios/simple_buffer_example/shared/AppCommon.h b/host_bios/simple_buffer_example/shared/AppCommon.h
index f25724963eb337d62ff6df2ac9314e8870396ce3..cbdacd28b539ff5d3879cc3403bb160594ecbfc2 100644 (file)
#if defined (__cplusplus)
extern "C" {
#endif
+#include "bigdataxlat.h"
/*
* ======== Application Configuration ========
#define App_CMD_BIGDATA 0x00000002
#define App_CMD_SHUTDOWN 0x02000000
-typedef struct {
- SharedRegion_SRPtr sharedPtr;
- UInt32 size;
-} BigDataBuffer;
-
typedef struct {
UInt64 base;
UInt64 size;
UInt16 regionId;
union {
SharedRegionInitCfg sharedRegionInitCfg;
- BigDataBuffer bigDataBuffer;
+ bigDataSharedDesc_t bigDataSharedDesc;
} u;
} App_Msg;
#define App_HostMsgQueName "HOST:MsgQ:01"
#define App_SlaveMsgQueName "%s:MsgQ:01" /* %s is each slave's Proc Name */
-#define BIGDATA_SIZE 16384
+#define BIGDATA_BUF_SIZE 16384
-#define BIGDATA_ALIGN 1
+#define BIGDATA_BUF_ALIGN 1
#if defined (__cplusplus)
}