Commit d9068d62 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Staging: epl: remove EPLDLLEXPORT

This isn't a DLL, so we don't need this :)

Cc: Daniel Krueger <daniel.krueger@systec-electronic.com>
Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e05ab09a
...@@ -164,7 +164,7 @@ static tEplKernel EplIdentuCbIdentResponse(tEplFrameInfo *pFrameInfo_p); ...@@ -164,7 +164,7 @@ static tEplKernel EplIdentuCbIdentResponse(tEplFrameInfo *pFrameInfo_p);
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplIdentuInit(void) tEplKernel EplIdentuInit(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -191,7 +191,7 @@ EPLDLLEXPORT tEplKernel EplIdentuInit(void) ...@@ -191,7 +191,7 @@ EPLDLLEXPORT tEplKernel EplIdentuInit(void)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplIdentuAddInstance(void) tEplKernel EplIdentuAddInstance(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -228,7 +228,7 @@ EPLDLLEXPORT tEplKernel EplIdentuAddInstance(void) ...@@ -228,7 +228,7 @@ EPLDLLEXPORT tEplKernel EplIdentuAddInstance(void)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplIdentuDelInstance(void) tEplKernel EplIdentuDelInstance(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -263,7 +263,7 @@ EPLDLLEXPORT tEplKernel EplIdentuDelInstance(void) ...@@ -263,7 +263,7 @@ EPLDLLEXPORT tEplKernel EplIdentuDelInstance(void)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplIdentuReset(void) tEplKernel EplIdentuReset(void)
{ {
tEplKernel Ret; tEplKernel Ret;
int iIndex; int iIndex;
...@@ -386,7 +386,7 @@ tEplKernel EplIdentuRequestIdentResponse(unsigned int uiNodeId_p, ...@@ -386,7 +386,7 @@ tEplKernel EplIdentuRequestIdentResponse(unsigned int uiNodeId_p,
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT u32 EplIdentuGetRunningRequests(void) u32 EplIdentuGetRunningRequests(void)
{ {
u32 dwReqs = 0; u32 dwReqs = 0;
unsigned int uiIndex; unsigned int uiIndex;
......
...@@ -236,13 +236,6 @@ typedef struct { ...@@ -236,13 +236,6 @@ typedef struct {
#define tabentries(a) (sizeof(a)/sizeof(*(a))) #define tabentries(a) (sizeof(a)/sizeof(*(a)))
#endif #endif
//---------------------------------------------------------------------------
// const defines
//---------------------------------------------------------------------------
// definitions for DLL export
#define EPLDLLEXPORT
// ============================================================================ // ============================================================================
// common debug macros // common debug macros
// ============================================================================ // ============================================================================
......
...@@ -135,7 +135,7 @@ static tEplKernel EplNmtCnuCommandCb(tEplFrameInfo *pFrameInfo_p); ...@@ -135,7 +135,7 @@ static tEplKernel EplNmtCnuCommandCb(tEplFrameInfo *pFrameInfo_p);
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtCnuInit(unsigned int uiNodeId_p) tEplKernel EplNmtCnuInit(unsigned int uiNodeId_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -161,7 +161,7 @@ EPLDLLEXPORT tEplKernel EplNmtCnuInit(unsigned int uiNodeId_p) ...@@ -161,7 +161,7 @@ EPLDLLEXPORT tEplKernel EplNmtCnuInit(unsigned int uiNodeId_p)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtCnuAddInstance(unsigned int uiNodeId_p) tEplKernel EplNmtCnuAddInstance(unsigned int uiNodeId_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -201,7 +201,7 @@ EPLDLLEXPORT tEplKernel EplNmtCnuAddInstance(unsigned int uiNodeId_p) ...@@ -201,7 +201,7 @@ EPLDLLEXPORT tEplKernel EplNmtCnuAddInstance(unsigned int uiNodeId_p)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtCnuDelInstance(void) tEplKernel EplNmtCnuDelInstance(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -234,8 +234,8 @@ EPLDLLEXPORT tEplKernel EplNmtCnuDelInstance(void) ...@@ -234,8 +234,8 @@ EPLDLLEXPORT tEplKernel EplNmtCnuDelInstance(void)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p, tEplKernel EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p,
tEplNmtCommand NmtCommand_p) tEplNmtCommand NmtCommand_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplFrameInfo NmtRequestFrameInfo; tEplFrameInfo NmtRequestFrameInfo;
...@@ -296,7 +296,7 @@ EPLDLLEXPORT tEplKernel EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p, ...@@ -296,7 +296,7 @@ EPLDLLEXPORT tEplKernel EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p,
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtCnuRegisterCheckEventCb(tEplNmtuCheckEventCallback pfnEplNmtCheckEventCb_p) tEplKernel EplNmtCnuRegisterCheckEventCb(tEplNmtuCheckEventCallback pfnEplNmtCheckEventCb_p)
{ {
tEplKernel Ret; tEplKernel Ret;
......
...@@ -946,7 +946,7 @@ tEplKernel EplNmtMnuCbCheckEvent(tEplNmtEvent NmtEvent_p) ...@@ -946,7 +946,7 @@ tEplKernel EplNmtMnuCbCheckEvent(tEplNmtEvent NmtEvent_p)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtMnuProcessEvent(tEplEvent *pEvent_p) tEplKernel EplNmtMnuProcessEvent(tEplEvent *pEvent_p)
{ {
tEplKernel Ret; tEplKernel Ret;
......
...@@ -163,7 +163,7 @@ EPL_MCO_DEFINE_INSTANCE_FCT() ...@@ -163,7 +163,7 @@ EPL_MCO_DEFINE_INSTANCE_FCT()
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR) tEplKernel EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -189,7 +189,7 @@ EPLDLLEXPORT tEplKernel EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR) ...@@ -189,7 +189,7 @@ EPLDLLEXPORT tEplKernel EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR) tEplKernel EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR)
{ {
EPL_MCO_DECL_INSTANCE_PTR_LOCAL tEplKernel Ret; EPL_MCO_DECL_INSTANCE_PTR_LOCAL tEplKernel Ret;
//tEplEvent Event; //tEplEvent Event;
...@@ -258,7 +258,7 @@ EPLDLLEXPORT tEplKernel EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR) ...@@ -258,7 +258,7 @@ EPLDLLEXPORT tEplKernel EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#if (EPL_USE_DELETEINST_FUNC != FALSE) #if (EPL_USE_DELETEINST_FUNC != FALSE)
EPLDLLEXPORT tEplKernel EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR) tEplKernel EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR)
{ {
tEplKernel Ret = kEplSuccessful; tEplKernel Ret = kEplSuccessful;
// check for all API function if instance is valid // check for all API function if instance is valid
...@@ -296,7 +296,7 @@ EPLDLLEXPORT tEplKernel EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR) ...@@ -296,7 +296,7 @@ EPLDLLEXPORT tEplKernel EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplEvent *pEvent_p) tEplKernel EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplEvent *pEvent_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplNmtState OldNmtState; tEplNmtState OldNmtState;
...@@ -1803,7 +1803,7 @@ EPLDLLEXPORT tEplKernel EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplEvent ...@@ -1803,7 +1803,7 @@ EPLDLLEXPORT tEplKernel EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplEvent
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplNmtState EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR) tEplNmtState EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR)
{ {
tEplNmtState NmtState; tEplNmtState NmtState;
......
...@@ -132,7 +132,7 @@ static tEplNmtuInstance EplNmtuInstance_g; ...@@ -132,7 +132,7 @@ static tEplNmtuInstance EplNmtuInstance_g;
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtuInit(void) tEplKernel EplNmtuInit(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -158,7 +158,7 @@ EPLDLLEXPORT tEplKernel EplNmtuInit(void) ...@@ -158,7 +158,7 @@ EPLDLLEXPORT tEplKernel EplNmtuInit(void)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtuAddInstance(void) tEplKernel EplNmtuAddInstance(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -187,7 +187,7 @@ EPLDLLEXPORT tEplKernel EplNmtuAddInstance(void) ...@@ -187,7 +187,7 @@ EPLDLLEXPORT tEplKernel EplNmtuAddInstance(void)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtuDelInstance(void) tEplKernel EplNmtuDelInstance(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -219,7 +219,7 @@ EPLDLLEXPORT tEplKernel EplNmtuDelInstance(void) ...@@ -219,7 +219,7 @@ EPLDLLEXPORT tEplKernel EplNmtuDelInstance(void)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p) tEplKernel EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplEvent Event; tEplEvent Event;
...@@ -253,7 +253,7 @@ EPLDLLEXPORT tEplKernel EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p) ...@@ -253,7 +253,7 @@ EPLDLLEXPORT tEplKernel EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplNmtState EplNmtuGetNmtState(void) tEplNmtState EplNmtuGetNmtState(void)
{ {
tEplNmtState NmtState; tEplNmtState NmtState;
...@@ -284,7 +284,7 @@ EPLDLLEXPORT tEplNmtState EplNmtuGetNmtState(void) ...@@ -284,7 +284,7 @@ EPLDLLEXPORT tEplNmtState EplNmtuGetNmtState(void)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtuProcessEvent(tEplEvent *pEplEvent_p) tEplKernel EplNmtuProcessEvent(tEplEvent *pEplEvent_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -664,7 +664,7 @@ EPLDLLEXPORT tEplKernel EplNmtuProcessEvent(tEplEvent *pEplEvent_p) ...@@ -664,7 +664,7 @@ EPLDLLEXPORT tEplKernel EplNmtuProcessEvent(tEplEvent *pEplEvent_p)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplNmtuRegisterStateChangeCb(tEplNmtuStateChangeCallback pfnEplNmtStateChangeCb_p) tEplKernel EplNmtuRegisterStateChangeCb(tEplNmtuStateChangeCallback pfnEplNmtStateChangeCb_p)
{ {
tEplKernel Ret; tEplKernel Ret;
......
...@@ -119,7 +119,7 @@ ...@@ -119,7 +119,7 @@
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplNmtState EplNmtkCalGetNmtState(void) tEplNmtState EplNmtkCalGetNmtState(void)
{ {
tEplNmtState NmtState; tEplNmtState NmtState;
// for test direkt call for EplNmtkGetNmtState() // for test direkt call for EplNmtkGetNmtState()
......
...@@ -224,7 +224,7 @@ static tEplKernel EplObdWriteEntryPost(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdEntryPt ...@@ -224,7 +224,7 @@ static tEplKernel EplObdWriteEntryPost(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdEntryPt
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdInit(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitParam *pInitParam_p) tEplKernel EplObdInit(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitParam *pInitParam_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -256,7 +256,7 @@ EPLDLLEXPORT tEplKernel EplObdInit(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitPar ...@@ -256,7 +256,7 @@ EPLDLLEXPORT tEplKernel EplObdInit(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitPar
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitParam *pInitParam_p) tEplKernel EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitParam *pInitParam_p)
{ {
EPL_MCO_DECL_INSTANCE_PTR_LOCAL tEplKernel Ret; EPL_MCO_DECL_INSTANCE_PTR_LOCAL tEplKernel Ret;
...@@ -301,7 +301,7 @@ EPLDLLEXPORT tEplKernel EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObd ...@@ -301,7 +301,7 @@ EPLDLLEXPORT tEplKernel EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObd
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#if (EPL_USE_DELETEINST_FUNC != FALSE) #if (EPL_USE_DELETEINST_FUNC != FALSE)
EPLDLLEXPORT tEplKernel EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR) tEplKernel EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR)
{ {
// check for all API function if instance is valid // check for all API function if instance is valid
EPL_MCO_CHECK_INSTANCE_STATE(); EPL_MCO_CHECK_INSTANCE_STATE();
...@@ -334,10 +334,9 @@ EPLDLLEXPORT tEplKernel EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR) ...@@ -334,10 +334,9 @@ EPLDLLEXPORT tEplKernel EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdWriteEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdWriteEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p, tEplObdSize Size_p)
tEplObdSize Size_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -394,10 +393,9 @@ EPLDLLEXPORT tEplKernel EplObdWriteEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int ...@@ -394,10 +393,9 @@ EPLDLLEXPORT tEplKernel EplObdWriteEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdReadEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdReadEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p, tEplObdSize *pSize_p)
tEplObdSize *pSize_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -478,8 +476,8 @@ EPLDLLEXPORT tEplKernel EplObdReadEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int ...@@ -478,8 +476,8 @@ EPLDLLEXPORT tEplKernel EplObdReadEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdAccessOdPart(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdPart ObdPart_p, tEplKernel EplObdAccessOdPart(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdPart ObdPart_p,
tEplObdDir Direction_p) tEplObdDir Direction_p)
{ {
tEplKernel Ret = kEplSuccessful; tEplKernel Ret = kEplSuccessful;
...@@ -577,7 +575,7 @@ EPLDLLEXPORT tEplKernel EplObdAccessOdPart(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdPar ...@@ -577,7 +575,7 @@ EPLDLLEXPORT tEplKernel EplObdAccessOdPart(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdPar
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdDefineVar(EPL_MCO_DECL_INSTANCE_PTR_ tEplVarParam *pVarParam_p) tEplKernel EplObdDefineVar(EPL_MCO_DECL_INSTANCE_PTR_ tEplVarParam *pVarParam_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -663,8 +661,8 @@ EPLDLLEXPORT tEplKernel EplObdDefineVar(EPL_MCO_DECL_INSTANCE_PTR_ tEplVarParam ...@@ -663,8 +661,8 @@ EPLDLLEXPORT tEplKernel EplObdDefineVar(EPL_MCO_DECL_INSTANCE_PTR_ tEplVarParam
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void *EplObdGetObjectDataPtr(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, void *EplObdGetObjectDataPtr(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p) unsigned int uiSubIndex_p)
{ {
tEplKernel Ret; tEplKernel Ret;
void *pData; void *pData;
...@@ -707,7 +705,7 @@ EPLDLLEXPORT void *EplObdGetObjectDataPtr(EPL_MCO_DECL_INSTANCE_PTR_ unsigned in ...@@ -707,7 +705,7 @@ EPLDLLEXPORT void *EplObdGetObjectDataPtr(EPL_MCO_DECL_INSTANCE_PTR_ unsigned in
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdRegisterUserOd(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdEntryPtr pUserOd_p) tEplKernel EplObdRegisterUserOd(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdEntryPtr pUserOd_p)
{ {
EPL_MCO_CHECK_INSTANCE_STATE(); EPL_MCO_CHECK_INSTANCE_STATE();
...@@ -736,8 +734,8 @@ EPLDLLEXPORT tEplKernel EplObdRegisterUserOd(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdE ...@@ -736,8 +734,8 @@ EPLDLLEXPORT tEplKernel EplObdRegisterUserOd(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdE
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdVarEntry *pVarEntry_p, void EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdVarEntry *pVarEntry_p,
tEplObdType Type_p, tEplObdSize ObdSize_p) tEplObdType Type_p, tEplObdSize ObdSize_p)
{ {
/* /*
#if (EPL_PDO_USE_STATIC_MAPPING == FALSE) #if (EPL_PDO_USE_STATIC_MAPPING == FALSE)
...@@ -788,8 +786,8 @@ EPLDLLEXPORT void EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdVarEntry ...@@ -788,8 +786,8 @@ EPLDLLEXPORT void EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdVarEntry
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplObdSize EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplObdSize EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p) unsigned int uiSubIndex_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplObdSize ObdSize; tEplObdSize ObdSize;
...@@ -829,7 +827,7 @@ EPLDLLEXPORT tEplObdSize EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_ unsigned i ...@@ -829,7 +827,7 @@ EPLDLLEXPORT tEplObdSize EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_ unsigned i
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT unsigned int EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR) unsigned int EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplObdSize ObdSize; tEplObdSize ObdSize;
...@@ -866,8 +864,8 @@ EPLDLLEXPORT unsigned int EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR) ...@@ -866,8 +864,8 @@ EPLDLLEXPORT unsigned int EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdSetNodeId(EPL_MCO_DECL_PTR_INSTANCE_PTR_ unsigned int uiNodeId_p, tEplKernel EplObdSetNodeId(EPL_MCO_DECL_PTR_INSTANCE_PTR_ unsigned int uiNodeId_p,
tEplObdNodeIdType NodeIdType_p) tEplObdNodeIdType NodeIdType_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplObdSize ObdSize; tEplObdSize ObdSize;
...@@ -949,9 +947,9 @@ EPLDLLEXPORT tEplKernel EplObdSetNodeId(EPL_MCO_DECL_PTR_INSTANCE_PTR_ unsigned ...@@ -949,9 +947,9 @@ EPLDLLEXPORT tEplKernel EplObdSetNodeId(EPL_MCO_DECL_PTR_INSTANCE_PTR_ unsigned
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
BOOL *pfEntryNumerical_p) BOOL *pfEntryNumerical_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplObdEntryPtr pObdEntry; tEplObdEntryPtr pObdEntry;
...@@ -1000,10 +998,9 @@ EPLDLLEXPORT tEplKernel EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_ unsigned in ...@@ -1000,10 +998,9 @@ EPLDLLEXPORT tEplKernel EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_ unsigned in
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdReadEntryToLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdReadEntryToLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p, tEplObdSize *pSize_p)
tEplObdSize *pSize_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplObdEntryPtr pObdEntry; tEplObdEntryPtr pObdEntry;
...@@ -1180,10 +1177,9 @@ EPLDLLEXPORT tEplKernel EplObdReadEntryToLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned ...@@ -1180,10 +1177,9 @@ EPLDLLEXPORT tEplKernel EplObdReadEntryToLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdWriteEntryFromLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdWriteEntryFromLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p, tEplObdSize Size_p)
tEplObdSize Size_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplObdEntryPtr pObdEntry; tEplObdEntryPtr pObdEntry;
...@@ -1325,9 +1321,9 @@ EPLDLLEXPORT tEplKernel EplObdWriteEntryFromLe(EPL_MCO_DECL_INSTANCE_PTR_ unsign ...@@ -1325,9 +1321,9 @@ EPLDLLEXPORT tEplKernel EplObdWriteEntryFromLe(EPL_MCO_DECL_INSTANCE_PTR_ unsign
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
tEplObdAccess *pAccessTyp_p) tEplObdAccess *pAccessTyp_p)
{ {
tEplKernel Ret; tEplKernel Ret;
tEplObdEntryPtr pObdEntry; tEplObdEntryPtr pObdEntry;
...@@ -2722,7 +2718,7 @@ static tEplKernel EplObdGetSubindexIntern(tEplObdEntryPtr pObdEntry_p, ...@@ -2722,7 +2718,7 @@ static tEplKernel EplObdGetSubindexIntern(tEplObdEntryPtr pObdEntry_p,
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#if (EPL_OBD_USE_STORE_RESTORE != FALSE) #if (EPL_OBD_USE_STORE_RESTORE != FALSE)
EPLDLLEXPORT tEplKernel EplObdSetStoreLoadObjCallback(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdStoreLoadObjCallback fpCallback_p) tEplKernel EplObdSetStoreLoadObjCallback(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdStoreLoadObjCallback fpCallback_p)
{ {
EPL_MCO_CHECK_INSTANCE_STATE(); EPL_MCO_CHECK_INSTANCE_STATE();
......
...@@ -121,9 +121,9 @@ ...@@ -121,9 +121,9 @@
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduWriteEntry(unsigned int uiIndex_p, tEplKernel EplObduWriteEntry(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, tEplObdSize Size_p) void *pSrcData_p, tEplObdSize Size_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -152,10 +152,10 @@ EPLDLLEXPORT tEplKernel EplObduWriteEntry(unsigned int uiIndex_p, ...@@ -152,10 +152,10 @@ EPLDLLEXPORT tEplKernel EplObduWriteEntry(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduReadEntry(unsigned int uiIndex_p, tEplKernel EplObduReadEntry(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p,
tEplObdSize *pSize_p) tEplObdSize *pSize_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -178,8 +178,7 @@ EPLDLLEXPORT tEplKernel EplObduReadEntry(unsigned int uiIndex_p, ...@@ -178,8 +178,7 @@ EPLDLLEXPORT tEplKernel EplObduReadEntry(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduAccessOdPart(tEplObdPart ObdPart_p, tEplKernel EplObduAccessOdPart(tEplObdPart ObdPart_p, tEplObdDir Direction_p)
tEplObdDir Direction_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -201,7 +200,7 @@ EPLDLLEXPORT tEplKernel EplObduAccessOdPart(tEplObdPart ObdPart_p, ...@@ -201,7 +200,7 @@ EPLDLLEXPORT tEplKernel EplObduAccessOdPart(tEplObdPart ObdPart_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduDefineVar(tEplVarParam *pVarParam_p) tEplKernel EplObduDefineVar(tEplVarParam *pVarParam_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -225,8 +224,7 @@ EPLDLLEXPORT tEplKernel EplObduDefineVar(tEplVarParam *pVarParam_p) ...@@ -225,8 +224,7 @@ EPLDLLEXPORT tEplKernel EplObduDefineVar(tEplVarParam *pVarParam_p)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void *EplObduGetObjectDataPtr(unsigned int uiIndex_p, void *EplObduGetObjectDataPtr(unsigned int uiIndex_p, unsigned int uiSubIndex_p)
unsigned int uiSubIndex_p)
{ {
void *pData; void *pData;
...@@ -249,7 +247,7 @@ EPLDLLEXPORT void *EplObduGetObjectDataPtr(unsigned int uiIndex_p, ...@@ -249,7 +247,7 @@ EPLDLLEXPORT void *EplObduGetObjectDataPtr(unsigned int uiIndex_p,
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#if (defined (EPL_OBD_USER_OD) && (EPL_OBD_USER_OD != FALSE)) #if (defined (EPL_OBD_USER_OD) && (EPL_OBD_USER_OD != FALSE))
EPLDLLEXPORT tEplKernel EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p) tEplKernel EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -274,8 +272,7 @@ EPLDLLEXPORT tEplKernel EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p) ...@@ -274,8 +272,7 @@ EPLDLLEXPORT tEplKernel EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void EplObduInitVarEntry(tEplObdVarEntry *pVarEntry_p, void EplObduInitVarEntry(tEplObdVarEntry *pVarEntry_p, u8 bType_p, tEplObdSize ObdSize_p)
u8 bType_p, tEplObdSize ObdSize_p)
{ {
EplObduCalInitVarEntry(pVarEntry_p, bType_p, ObdSize_p); EplObduCalInitVarEntry(pVarEntry_p, bType_p, ObdSize_p);
} }
...@@ -297,8 +294,7 @@ EPLDLLEXPORT void EplObduInitVarEntry(tEplObdVarEntry *pVarEntry_p, ...@@ -297,8 +294,7 @@ EPLDLLEXPORT void EplObduInitVarEntry(tEplObdVarEntry *pVarEntry_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplObdSize EplObduGetDataSize(unsigned int uiIndex_p, tEplObdSize EplObduGetDataSize(unsigned int uiIndex_p, unsigned int uiSubIndex_p)
unsigned int uiSubIndex_p)
{ {
tEplObdSize Size; tEplObdSize Size;
...@@ -321,7 +317,7 @@ EPLDLLEXPORT tEplObdSize EplObduGetDataSize(unsigned int uiIndex_p, ...@@ -321,7 +317,7 @@ EPLDLLEXPORT tEplObdSize EplObduGetDataSize(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT unsigned int EplObduGetNodeId(void) unsigned int EplObduGetNodeId(void)
{ {
unsigned int uiNodeId; unsigned int uiNodeId;
...@@ -345,8 +341,7 @@ EPLDLLEXPORT unsigned int EplObduGetNodeId(void) ...@@ -345,8 +341,7 @@ EPLDLLEXPORT unsigned int EplObduGetNodeId(void)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduSetNodeId(unsigned int uiNodeId_p, tEplKernel EplObduSetNodeId(unsigned int uiNodeId_p, tEplObdNodeIdType NodeIdType_p)
tEplObdNodeIdType NodeIdType_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -371,9 +366,9 @@ EPLDLLEXPORT tEplKernel EplObduSetNodeId(unsigned int uiNodeId_p, ...@@ -371,9 +366,9 @@ EPLDLLEXPORT tEplKernel EplObduSetNodeId(unsigned int uiNodeId_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduGetAccessType(unsigned int uiIndex_p, tEplKernel EplObduGetAccessType(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
tEplObdAccess *pAccessTyp_p) tEplObdAccess *pAccessTyp_p)
{ {
tEplObdAccess AccessType; tEplObdAccess AccessType;
...@@ -407,10 +402,10 @@ EPLDLLEXPORT tEplKernel EplObduGetAccessType(unsigned int uiIndex_p, ...@@ -407,10 +402,10 @@ EPLDLLEXPORT tEplKernel EplObduGetAccessType(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduReadEntryToLe(unsigned int uiIndex_p, tEplKernel EplObduReadEntryToLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p,
tEplObdSize *pSize_p) tEplObdSize *pSize_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -442,10 +437,10 @@ EPLDLLEXPORT tEplKernel EplObduReadEntryToLe(unsigned int uiIndex_p, ...@@ -442,10 +437,10 @@ EPLDLLEXPORT tEplKernel EplObduReadEntryToLe(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduWriteEntryFromLe(unsigned int uiIndex_p, tEplKernel EplObduWriteEntryFromLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p,
tEplObdSize Size_p) tEplObdSize Size_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -471,9 +466,9 @@ EPLDLLEXPORT tEplKernel EplObduWriteEntryFromLe(unsigned int uiIndex_p, ...@@ -471,9 +466,9 @@ EPLDLLEXPORT tEplKernel EplObduWriteEntryFromLe(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObduSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubindex_p, unsigned int uiSubindex_p,
tEplObdVarEntry **ppVarEntry_p) tEplObdVarEntry **ppVarEntry_p)
{ {
tEplKernel Ret; tEplKernel Ret;
......
...@@ -121,10 +121,9 @@ ...@@ -121,10 +121,9 @@
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalWriteEntry(unsigned int uiIndex_p, tEplKernel EplObduCalWriteEntry(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p, tEplObdSize Size_p)
tEplObdSize Size_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -155,10 +154,9 @@ EPLDLLEXPORT tEplKernel EplObduCalWriteEntry(unsigned int uiIndex_p, ...@@ -155,10 +154,9 @@ EPLDLLEXPORT tEplKernel EplObduCalWriteEntry(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalReadEntry(unsigned int uiIndex_p, tEplKernel EplObduCalReadEntry(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p, tEplObdSize *pSize_p)
tEplObdSize *pSize_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -185,8 +183,7 @@ EPLDLLEXPORT tEplKernel EplObduCalReadEntry(unsigned int uiIndex_p, ...@@ -185,8 +183,7 @@ EPLDLLEXPORT tEplKernel EplObduCalReadEntry(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalAccessOdPart(tEplObdPart ObdPart_p, tEplKernel EplObduCalAccessOdPart(tEplObdPart ObdPart_p, tEplObdDir Direction_p)
tEplObdDir Direction_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -212,7 +209,7 @@ EPLDLLEXPORT tEplKernel EplObduCalAccessOdPart(tEplObdPart ObdPart_p, ...@@ -212,7 +209,7 @@ EPLDLLEXPORT tEplKernel EplObduCalAccessOdPart(tEplObdPart ObdPart_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalDefineVar(tEplVarParam *pVarParam_p) tEplKernel EplObduCalDefineVar(tEplVarParam *pVarParam_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -239,8 +236,7 @@ EPLDLLEXPORT tEplKernel EplObduCalDefineVar(tEplVarParam *pVarParam_p) ...@@ -239,8 +236,7 @@ EPLDLLEXPORT tEplKernel EplObduCalDefineVar(tEplVarParam *pVarParam_p)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void *EplObduCalGetObjectDataPtr(unsigned int uiIndex_p, void *EplObduCalGetObjectDataPtr(unsigned int uiIndex_p, unsigned int uiSubIndex_p)
unsigned int uiSubIndex_p)
{ {
void *pData; void *pData;
...@@ -267,7 +263,7 @@ EPLDLLEXPORT void *EplObduCalGetObjectDataPtr(unsigned int uiIndex_p, ...@@ -267,7 +263,7 @@ EPLDLLEXPORT void *EplObduCalGetObjectDataPtr(unsigned int uiIndex_p,
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#if (defined (EPL_OBD_USER_OD) && (EPL_OBD_USER_OD != FALSE)) #if (defined (EPL_OBD_USER_OD) && (EPL_OBD_USER_OD != FALSE))
EPLDLLEXPORT tEplKernel EplObduCalRegisterUserOd(tEplObdEntryPtr pUserOd_p) tEplKernel EplObduCalRegisterUserOd(tEplObdEntryPtr pUserOd_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -296,8 +292,8 @@ EPLDLLEXPORT tEplKernel EplObduCalRegisterUserOd(tEplObdEntryPtr pUserOd_p) ...@@ -296,8 +292,8 @@ EPLDLLEXPORT tEplKernel EplObduCalRegisterUserOd(tEplObdEntryPtr pUserOd_p)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void EplObduCalInitVarEntry(tEplObdVarEntry *pVarEntry_p, void EplObduCalInitVarEntry(tEplObdVarEntry *pVarEntry_p, u8 bType_p,
u8 bType_p, tEplObdSize ObdSize_p) tEplObdSize ObdSize_p)
{ {
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0) #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
EplObdInitVarEntry(pVarEntry_p, bType_p, ObdSize_p); EplObdInitVarEntry(pVarEntry_p, bType_p, ObdSize_p);
...@@ -321,8 +317,8 @@ EPLDLLEXPORT void EplObduCalInitVarEntry(tEplObdVarEntry *pVarEntry_p, ...@@ -321,8 +317,8 @@ EPLDLLEXPORT void EplObduCalInitVarEntry(tEplObdVarEntry *pVarEntry_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplObdSize EplObduCalGetDataSize(unsigned int uiIndex_p, tEplObdSize EplObduCalGetDataSize(unsigned int uiIndex_p,
unsigned int uiSubIndex_p) unsigned int uiSubIndex_p)
{ {
tEplObdSize Size; tEplObdSize Size;
...@@ -349,7 +345,7 @@ EPLDLLEXPORT tEplObdSize EplObduCalGetDataSize(unsigned int uiIndex_p, ...@@ -349,7 +345,7 @@ EPLDLLEXPORT tEplObdSize EplObduCalGetDataSize(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT unsigned int EplObduCalGetNodeId(void) unsigned int EplObduCalGetNodeId(void)
{ {
unsigned int uiNodeId; unsigned int uiNodeId;
...@@ -377,8 +373,8 @@ EPLDLLEXPORT unsigned int EplObduCalGetNodeId(void) ...@@ -377,8 +373,8 @@ EPLDLLEXPORT unsigned int EplObduCalGetNodeId(void)
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalSetNodeId(unsigned int uiNodeId_p, tEplKernel EplObduCalSetNodeId(unsigned int uiNodeId_p,
tEplObdNodeIdType NodeIdType_p) tEplObdNodeIdType NodeIdType_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -407,9 +403,9 @@ EPLDLLEXPORT tEplKernel EplObduCalSetNodeId(unsigned int uiNodeId_p, ...@@ -407,9 +403,9 @@ EPLDLLEXPORT tEplKernel EplObduCalSetNodeId(unsigned int uiNodeId_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalGetAccessType(unsigned int uiIndex_p, tEplKernel EplObduCalGetAccessType(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
tEplObdAccess *pAccessTyp_p) tEplObdAccess *pAccessTyp_p)
{ {
tEplObdAccess AccesType; tEplObdAccess AccesType;
...@@ -441,10 +437,10 @@ EPLDLLEXPORT tEplKernel EplObduCalGetAccessType(unsigned int uiIndex_p, ...@@ -441,10 +437,10 @@ EPLDLLEXPORT tEplKernel EplObduCalGetAccessType(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalReadEntryToLe(unsigned int uiIndex_p, tEplKernel EplObduCalReadEntryToLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p,
tEplObdSize *pSize_p) tEplObdSize *pSize_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -474,10 +470,9 @@ EPLDLLEXPORT tEplKernel EplObduCalReadEntryToLe(unsigned int uiIndex_p, ...@@ -474,10 +470,9 @@ EPLDLLEXPORT tEplKernel EplObduCalReadEntryToLe(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalWriteEntryFromLe(unsigned int uiIndex_p, tEplKernel EplObduCalWriteEntryFromLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p, tEplObdSize Size_p)
tEplObdSize Size_p)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -505,9 +500,9 @@ EPLDLLEXPORT tEplKernel EplObduCalWriteEntryFromLe(unsigned int uiIndex_p, ...@@ -505,9 +500,9 @@ EPLDLLEXPORT tEplKernel EplObduCalWriteEntryFromLe(unsigned int uiIndex_p,
// State: // State:
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObduCalSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubindex_p, unsigned int uiSubindex_p,
tEplObdVarEntry **ppVarEntry_p) tEplObdVarEntry **ppVarEntry_p)
{ {
tEplKernel Ret; tEplKernel Ret;
......
...@@ -163,7 +163,7 @@ static tEplKernel EplStatusuCbStatusResponse(tEplFrameInfo *pFrameInfo_p); ...@@ -163,7 +163,7 @@ static tEplKernel EplStatusuCbStatusResponse(tEplFrameInfo *pFrameInfo_p);
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplStatusuInit(void) tEplKernel EplStatusuInit(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -190,7 +190,7 @@ EPLDLLEXPORT tEplKernel EplStatusuInit(void) ...@@ -190,7 +190,7 @@ EPLDLLEXPORT tEplKernel EplStatusuInit(void)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplStatusuAddInstance(void) tEplKernel EplStatusuAddInstance(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -227,7 +227,7 @@ EPLDLLEXPORT tEplKernel EplStatusuAddInstance(void) ...@@ -227,7 +227,7 @@ EPLDLLEXPORT tEplKernel EplStatusuAddInstance(void)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplStatusuDelInstance(void) tEplKernel EplStatusuDelInstance(void)
{ {
tEplKernel Ret; tEplKernel Ret;
...@@ -257,7 +257,7 @@ EPLDLLEXPORT tEplKernel EplStatusuDelInstance(void) ...@@ -257,7 +257,7 @@ EPLDLLEXPORT tEplKernel EplStatusuDelInstance(void)
// //
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplStatusuReset(void) tEplKernel EplStatusuReset(void)
{ {
tEplKernel Ret; tEplKernel Ret;
......
...@@ -86,15 +86,15 @@ ...@@ -86,15 +86,15 @@
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0) #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0)
EPLDLLEXPORT tEplKernel EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR); tEplKernel EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplKernel EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR); tEplKernel EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplKernel EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR); tEplKernel EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
EPLDLLEXPORT tEplKernel EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplEvent *pEvent_p); tEplKernel EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplEvent *pEvent_p);
EPLDLLEXPORT tEplNmtState EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR); tEplNmtState EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0) #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0)
......
...@@ -92,83 +92,79 @@ extern u8 abEplObdTrashObject_g[8]; ...@@ -92,83 +92,79 @@ extern u8 abEplObdTrashObject_g[8];
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0) #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdInit(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitParam *pInitParam_p); tEplKernel EplObdInit(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitParam *pInitParam_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitParam *pInitParam_p); tEplKernel EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_ tEplObdInitParam *pInitParam_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR); tEplKernel EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdWriteEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdWriteEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p, tEplObdSize Size_p);
tEplObdSize Size_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdReadEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdReadEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p, tEplObdSize *pSize_p);
tEplObdSize *pSize_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdSetStoreLoadObjCallback(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdStoreLoadObjCallback fpCallback_p); tEplKernel EplObdSetStoreLoadObjCallback(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdStoreLoadObjCallback fpCallback_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdAccessOdPart(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdPart ObdPart_p, tEplKernel EplObdAccessOdPart(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdPart ObdPart_p,
tEplObdDir Direction_p); tEplObdDir Direction_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdDefineVar(EPL_MCO_DECL_INSTANCE_PTR_ tEplVarParam *pVarParam_p); tEplKernel EplObdDefineVar(EPL_MCO_DECL_INSTANCE_PTR_ tEplVarParam *pVarParam_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT void *EplObdGetObjectDataPtr(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, void *EplObdGetObjectDataPtr(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p); unsigned int uiSubIndex_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdRegisterUserOd(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdEntryPtr pUserOd_p); tEplKernel EplObdRegisterUserOd(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdEntryPtr pUserOd_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT void EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdVarEntry *pVarEntry_p, void EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ tEplObdVarEntry *pVarEntry_p,
tEplObdType Type_p, tEplObdType Type_p, tEplObdSize ObdSize_p);
tEplObdSize ObdSize_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplObdSize EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplObdSize EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p); unsigned int uiSubIndex_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT unsigned int EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR); unsigned int EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdSetNodeId(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiNodeId_p, tEplKernel EplObdSetNodeId(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiNodeId_p,
tEplObdNodeIdType NodeIdType_p); tEplObdNodeIdType NodeIdType_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p, BOOL *pfEntryNumerical);
BOOL *pfEntryNumerical);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdWriteEntryFromLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdWriteEntryFromLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p,
tEplObdSize Size_p); tEplObdSize Size_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdReadEntryToLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdReadEntryToLe(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p,
tEplObdSize *pSize_p); tEplObdSize *pSize_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
tEplObdAccess *pAccessTyp_p); tEplObdAccess *pAccessTyp_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObdSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, tEplKernel EplObdSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiSubindex_p, unsigned int uiSubindex_p,
tEplObdVarEntry **ppVarEntry_p); tEplObdVarEntry **ppVarEntry_p);
#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0) #endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
......
...@@ -149,7 +149,7 @@ static int EplLinProcWrite(struct file *file, const char __user * buffer, ...@@ -149,7 +149,7 @@ static int EplLinProcWrite(struct file *file, const char __user * buffer,
void TgtDbgSignalTracePoint(u8 bTracePointNumber_p); void TgtDbgSignalTracePoint(u8 bTracePointNumber_p);
void TgtDbgPostTraceValue(u32 dwTraceValue_p); void TgtDbgPostTraceValue(u32 dwTraceValue_p);
EPLDLLEXPORT u32 EplIdentuGetRunningRequests(void); extern u32 EplIdentuGetRunningRequests(void);
//=========================================================================// //=========================================================================//
// // // //
......
...@@ -89,18 +89,15 @@ ...@@ -89,18 +89,15 @@
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0) #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0)
EPLDLLEXPORT tEplKernel EplNmtCnuInit(unsigned int uiNodeId_p); tEplKernel EplNmtCnuInit(unsigned int uiNodeId_p);
EPLDLLEXPORT tEplKernel EplNmtCnuAddInstance(unsigned int uiNodeId_p); tEplKernel EplNmtCnuAddInstance(unsigned int uiNodeId_p);
EPLDLLEXPORT tEplKernel EplNmtCnuDelInstance(void); tEplKernel EplNmtCnuDelInstance(void);
EPLDLLEXPORT tEplKernel EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p, tEplKernel EplNmtCnuSendNmtRequest(unsigned int uiNodeId_p, tEplNmtCommand NmtCommand_p);
tEplNmtCommand NmtCommand_p);
EPLDLLEXPORT tEplKernel tEplKernel EplNmtCnuRegisterCheckEventCb(tEplNmtuCheckEventCallback pfnEplNmtCheckEventCb_p);
EplNmtCnuRegisterCheckEventCb(tEplNmtuCheckEventCallback
pfnEplNmtCheckEventCb_p);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0) #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_CN)) != 0)
......
...@@ -105,7 +105,7 @@ tEplKernel EplNmtMnuAddInstance(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p, ...@@ -105,7 +105,7 @@ tEplKernel EplNmtMnuAddInstance(tEplNmtMnuCbNodeEvent pfnCbNodeEvent_p,
tEplKernel EplNmtMnuDelInstance(void); tEplKernel EplNmtMnuDelInstance(void);
EPLDLLEXPORT tEplKernel EplNmtMnuProcessEvent(tEplEvent * pEvent_p); tEplKernel EplNmtMnuProcessEvent(tEplEvent *pEvent_p);
tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p, tEplKernel EplNmtMnuSendNmtCommand(unsigned int uiNodeId_p,
tEplNmtCommand NmtCommand_p); tEplNmtCommand NmtCommand_p);
......
...@@ -131,19 +131,19 @@ typedef tEplKernel(* tEplNmtuCheckEventCallback) (tEplNmtEvent NmtEvent_p); ...@@ -131,19 +131,19 @@ typedef tEplKernel(* tEplNmtuCheckEventCallback) (tEplNmtEvent NmtEvent_p);
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0) #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0)
EPLDLLEXPORT tEplKernel EplNmtuInit(void); tEplKernel EplNmtuInit(void);
EPLDLLEXPORT tEplKernel EplNmtuAddInstance(void); tEplKernel EplNmtuAddInstance(void);
EPLDLLEXPORT tEplKernel EplNmtuDelInstance(void); tEplKernel EplNmtuDelInstance(void);
EPLDLLEXPORT tEplKernel EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p); tEplKernel EplNmtuNmtEvent(tEplNmtEvent NmtEvent_p);
EPLDLLEXPORT tEplNmtState EplNmtuGetNmtState(void); tEplNmtState EplNmtuGetNmtState(void);
EPLDLLEXPORT tEplKernel EplNmtuProcessEvent(tEplEvent * pEplEvent_p); tEplKernel EplNmtuProcessEvent(tEplEvent *pEplEvent_p);
EPLDLLEXPORT tEplKernel EplNmtuRegisterStateChangeCb(tEplNmtuStateChangeCallback pfnEplNmtStateChangeCb_p); tEplKernel EplNmtuRegisterStateChangeCb(tEplNmtuStateChangeCallback pfnEplNmtStateChangeCb_p);
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0) #endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTU)) != 0)
......
...@@ -86,6 +86,6 @@ ...@@ -86,6 +86,6 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplNmtState EplNmtkCalGetNmtState(void); tEplNmtState EplNmtkCalGetNmtState(void);
#endif // #ifndef _EPLNMTUCAL_H_ #endif // #ifndef _EPLNMTUCAL_H_
...@@ -91,64 +91,57 @@ ...@@ -91,64 +91,57 @@
#error "EPL OBDu module enabled, but OBD_USE_KERNEL == TRUE" #error "EPL OBDu module enabled, but OBD_USE_KERNEL == TRUE"
#endif #endif
EPLDLLEXPORT tEplKernel EplObduWriteEntry(unsigned int uiIndex_p, tEplKernel EplObduWriteEntry(unsigned int uiIndex_p, unsigned int uiSubIndex_p,
unsigned int uiSubIndex_p, void *pSrcData_p, tEplObdSize Size_p);
void *pSrcData_p,
tEplObdSize Size_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduReadEntry(unsigned int uiIndex_p, tEplKernel EplObduReadEntry(unsigned int uiIndex_p, unsigned int uiSubIndex_p,
unsigned int uiSubIndex_p, void *pDstData_p, tEplObdSize *pSize_p);
void *pDstData_p,
tEplObdSize *pSize_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduAccessOdPart(tEplObdPart ObdPart_p, tEplKernel EplObduAccessOdPart(tEplObdPart ObdPart_p, tEplObdDir Direction_p);
tEplObdDir Direction_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduDefineVar(tEplVarParam *pVarParam_p); tEplKernel EplObduDefineVar(tEplVarParam *pVarParam_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT void *EplObduGetObjectDataPtr(unsigned int uiIndex_p, void *EplObduGetObjectDataPtr(unsigned int uiIndex_p, unsigned int uiSubIndex_p);
unsigned int uiSubIndex_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p); tEplKernel EplObduRegisterUserOd(tEplObdEntryPtr pUserOd_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT void EplObduInitVarEntry(tEplObdVarEntry *pVarEntry_p, void EplObduInitVarEntry(tEplObdVarEntry *pVarEntry_p, u8 bType_p,
u8 bType_p, tEplObdSize ObdSize_p); tEplObdSize ObdSize_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplObdSize EplObduGetDataSize(unsigned int uiIndex_p, tEplObdSize EplObduGetDataSize(unsigned int uiIndex_p,
unsigned int uiSubIndex_p); unsigned int uiSubIndex_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT unsigned int EplObduGetNodeId(void); unsigned int EplObduGetNodeId(void);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduSetNodeId(unsigned int uiNodeId_p, tEplKernel EplObduSetNodeId(unsigned int uiNodeId_p,
tEplObdNodeIdType NodeIdType_p); tEplObdNodeIdType NodeIdType_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduGetAccessType(unsigned int uiIndex_p, tEplKernel EplObduGetAccessType(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
tEplObdAccess *pAccessTyp_p); tEplObdAccess *pAccessTyp_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduReadEntryToLe(unsigned int uiIndex_p, tEplKernel EplObduReadEntryToLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p, tEplObdSize *pSize_p);
tEplObdSize *pSize_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduWriteEntryFromLe(unsigned int uiIndex_p, tEplKernel EplObduWriteEntryFromLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p, tEplObdSize Size_p);
tEplObdSize Size_p);
// --------------------------------------------------------------------- // ---------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ tEplKernel EplObduSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
unsigned int uiIndex_p, unsigned int uiSubindex_p,
unsigned int uiSubindex_p, tEplObdVarEntry **ppVarEntry_p);
tEplObdVarEntry **ppVarEntry_p);
#elif EPL_OBD_USE_KERNEL != FALSE #elif EPL_OBD_USE_KERNEL != FALSE
#include "../kernel/EplObdk.h" #include "../kernel/EplObdk.h"
......
...@@ -85,54 +85,53 @@ ...@@ -85,54 +85,53 @@
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
// function prototypes // function prototypes
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalWriteEntry(unsigned int uiIndex_p, tEplKernel EplObduCalWriteEntry(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p,
tEplObdSize Size_p); tEplObdSize Size_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalReadEntry(unsigned int uiIndex_p, tEplKernel EplObduCalReadEntry(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p,
tEplObdSize * pSize_p); tEplObdSize *pSize_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalAccessOdPart(tEplObdPart ObdPart_p, tEplKernel EplObduCalAccessOdPart(tEplObdPart ObdPart_p,
tEplObdDir Direction_p); tEplObdDir Direction_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalDefineVar(tEplVarParam *pVarParam_p); tEplKernel EplObduCalDefineVar(tEplVarParam *pVarParam_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void *EplObduCalGetObjectDataPtr(unsigned int uiIndex_p, void *EplObduCalGetObjectDataPtr(unsigned int uiIndex_p,
unsigned int uiSubIndex_p); unsigned int uiSubIndex_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalRegisterUserOd(tEplObdEntryPtr pUserOd_p); tEplKernel EplObduCalRegisterUserOd(tEplObdEntryPtr pUserOd_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT void EplObduCalInitVarEntry(tEplObdVarEntry *pVarEntry_p, void EplObduCalInitVarEntry(tEplObdVarEntry *pVarEntry_p,
u8 bType_p, tEplObdSize ObdSize_p); u8 bType_p, tEplObdSize ObdSize_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplObdSize EplObduCalGetDataSize(unsigned int uiIndex_p, tEplObdSize EplObduCalGetDataSize(unsigned int uiIndex_p,
unsigned int uiSubIndex_p); unsigned int uiSubIndex_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT unsigned int EplObduCalGetNodeId(void); unsigned int EplObduCalGetNodeId(void);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalSetNodeId(unsigned int uiNodeId_p, tEplKernel EplObduCalSetNodeId(unsigned int uiNodeId_p,
tEplObdNodeIdType NodeIdType_p); tEplObdNodeIdType NodeIdType_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalGetAccessType(unsigned int uiIndex_p, tEplKernel EplObduCalGetAccessType(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
tEplObdAccess *pAccessTyp_p); tEplObdAccess *pAccessTyp_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalReadEntryToLe(unsigned int uiIndex_p, tEplKernel EplObduCalReadEntryToLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pDstData_p, void *pDstData_p,
tEplObdSize *pSize_p); tEplObdSize *pSize_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel EplObduCalWriteEntryFromLe(unsigned int uiIndex_p, tEplKernel EplObduCalWriteEntryFromLe(unsigned int uiIndex_p,
unsigned int uiSubIndex_p, unsigned int uiSubIndex_p,
void *pSrcData_p, void *pSrcData_p,
tEplObdSize Size_p); tEplObdSize Size_p);
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------
EPLDLLEXPORT tEplKernel tEplKernel EplObduCalSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p,
EplObduCalSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_ unsigned int uiIndex_p, unsigned int uiSubindex_p,
unsigned int uiSubindex_p, tEplObdVarEntry **ppVarEntry_p);
tEplObdVarEntry **ppVarEntry_p);
#endif // #ifndef _EPLOBDUCAL_H_ #endif // #ifndef _EPLOBDUCAL_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment