// +FHDR------------------------------------------------------------
//                 Copyright (c) 2022 SmartLogic.
//                       ALL RIGHTS RESERVED
// -----------------------------------------------------------------
// Filename      : ecs_sm_mgt.h
// Author        : xianfeng.du
// Created On    : 2022-06-25
// Last Modified :
// -----------------------------------------------------------------
// Description:
//
//
// -FHDR------------------------------------------------------------

#ifndef __ECS_SHARE_MEM_MGT_H__
#define __ECS_SHARE_MEM_MGT_H__

#if 0
#include "ucp_utility.h"
#include "ucp_handshake.h"
#include "msg_transfer_queue.h"
#include "log_client.h"

typedef struct tEcsSmLocalMgt {
	UcpHandshake_t*				pHandshake;//common
	SyncInfo_t*					pSyncInfo;//common
	uint16_t*					pBufIdxBase;//common
	MsgQueueCfg_t*				pQueueCfg[MAX_INSTANCE_NUM][UCP4008_TRAFFIC_MAX_NUM];//common
	MsgQueueCommonInfo_t*		pDlQueue[MAX_INSTANCE_NUM][UCP4008_TRAFFIC_MAX_NUM];//common
	MsgQueueCommonInfo_t*		pUlQueue[MAX_INSTANCE_NUM][UCP4008_TRAFFIC_MAX_NUM];//common

	SpuLogCommonInfo_t*         pLogCommonInfo;
} EcsSmLocalMgt_t;

void ecs_sm_init(void);
void ecs_sm_alloc(void);
ALWAYS_INLINE EcsSmLocalMgt_t* get_ecs_sm_local_mgt(void);
#endif

#endif

