Staging: epl: run Lindent on all kernel/*.h files
It's a start, still a mess... Cc: Daniel Krueger <daniel.krueger@systec-electronic.com> Cc: Ronald Sieber <Ronald.Sieber@systec-electronic.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Родитель
9d7164cfdb
Коммит
ba338d4626
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/06/08 d.k.: start of the implementation, version 1.00
|
2006/06/08 d.k.: start of the implementation, version 1.00
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef _EPL_DLLK_H_
|
#ifndef _EPL_DLLK_H_
|
||||||
|
@ -79,34 +78,31 @@
|
||||||
// const defines
|
// const defines
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
typedef tEplKernel (* tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p);
|
typedef tEplKernel(*tEplDllkCbAsync) (tEplFrameInfo * pFrameInfo_p);
|
||||||
|
|
||||||
typedef struct
|
typedef struct {
|
||||||
{
|
BYTE m_be_abSrcMac[6];
|
||||||
BYTE m_be_abSrcMac[6];
|
|
||||||
|
|
||||||
} tEplDllkInitParam;
|
} tEplDllkInitParam;
|
||||||
|
|
||||||
// forward declaration
|
// forward declaration
|
||||||
struct _tEdrvTxBuffer;
|
struct _tEdrvTxBuffer;
|
||||||
|
|
||||||
struct _tEplDllkNodeInfo
|
struct _tEplDllkNodeInfo {
|
||||||
{
|
struct _tEplDllkNodeInfo *m_pNextNodeInfo;
|
||||||
struct _tEplDllkNodeInfo* m_pNextNodeInfo;
|
struct _tEdrvTxBuffer *m_pPreqTxBuffer;
|
||||||
struct _tEdrvTxBuffer* m_pPreqTxBuffer;
|
unsigned int m_uiNodeId;
|
||||||
unsigned int m_uiNodeId;
|
DWORD m_dwPresTimeout;
|
||||||
DWORD m_dwPresTimeout;
|
unsigned long m_ulDllErrorEvents;
|
||||||
unsigned long m_ulDllErrorEvents;
|
tEplNmtState m_NmtState;
|
||||||
tEplNmtState m_NmtState;
|
WORD m_wPresPayloadLimit;
|
||||||
WORD m_wPresPayloadLimit;
|
BYTE m_be_abMacAddr[6];
|
||||||
BYTE m_be_abMacAddr[6];
|
BYTE m_bSoaFlag1;
|
||||||
BYTE m_bSoaFlag1;
|
BOOL m_fSoftDelete; // delete node after error and ignore error
|
||||||
BOOL m_fSoftDelete; // delete node after error and ignore error
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -138,18 +134,18 @@ tEplKernel EplDllkRegAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p);
|
||||||
tEplKernel EplDllkDeregAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p);
|
tEplKernel EplDllkDeregAsyncHandler(tEplDllkCbAsync pfnDllkCbAsync_p);
|
||||||
|
|
||||||
// register C_DLL_MULTICAST_ASND in ethernet driver if any AsndServiceId is registered
|
// register C_DLL_MULTICAST_ASND in ethernet driver if any AsndServiceId is registered
|
||||||
tEplKernel EplDllkSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p, tEplDllAsndFilter Filter_p);
|
tEplKernel EplDllkSetAsndServiceIdFilter(tEplDllAsndServiceId ServiceId_p,
|
||||||
|
tEplDllAsndFilter Filter_p);
|
||||||
|
|
||||||
// creates the buffer for a Tx frame and registers it to the ethernet driver
|
// creates the buffer for a Tx frame and registers it to the ethernet driver
|
||||||
tEplKernel EplDllkCreateTxFrame(unsigned int * puiHandle_p,
|
tEplKernel EplDllkCreateTxFrame(unsigned int *puiHandle_p,
|
||||||
tEplFrame ** ppFrame_p,
|
tEplFrame ** ppFrame_p,
|
||||||
unsigned int * puiFrameSize_p,
|
unsigned int *puiFrameSize_p,
|
||||||
tEplMsgType MsgType_p,
|
tEplMsgType MsgType_p,
|
||||||
tEplDllAsndServiceId ServiceId_p);
|
tEplDllAsndServiceId ServiceId_p);
|
||||||
|
|
||||||
tEplKernel EplDllkDeleteTxFrame(unsigned int uiHandle_p);
|
tEplKernel EplDllkDeleteTxFrame(unsigned int uiHandle_p);
|
||||||
|
|
||||||
|
|
||||||
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
|
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
|
||||||
|
|
||||||
tEplKernel EplDllkAddNode(tEplDllNodeInfo * pNodeInfo_p);
|
tEplKernel EplDllkAddNode(tEplDllNodeInfo * pNodeInfo_p);
|
||||||
|
@ -160,12 +156,10 @@ tEplKernel EplDllkSoftDeleteNode(unsigned int uiNodeId_p);
|
||||||
|
|
||||||
tEplKernel EplDllkSetFlag1OfNode(unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
|
tEplKernel EplDllkSetFlag1OfNode(unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
|
||||||
|
|
||||||
tEplKernel EplDllkGetFirstNodeInfo(tEplDllkNodeInfo** ppNodeInfo_p);
|
tEplKernel EplDllkGetFirstNodeInfo(tEplDllkNodeInfo ** ppNodeInfo_p);
|
||||||
|
|
||||||
#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
|
#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
|
||||||
|
|
||||||
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
|
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
|
||||||
|
|
||||||
#endif // #ifndef _EPL_DLLK_H_
|
#endif // #ifndef _EPL_DLLK_H_
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/06/13 d.k.: start of the implementation, version 1.00
|
2006/06/13 d.k.: start of the implementation, version 1.00
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef _EPL_DLLKCAL_H_
|
#ifndef _EPL_DLLKCAL_H_
|
||||||
|
@ -83,14 +82,13 @@
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
typedef struct
|
typedef struct {
|
||||||
{
|
unsigned long m_ulCurTxFrameCountGen;
|
||||||
unsigned long m_ulCurTxFrameCountGen;
|
unsigned long m_ulCurTxFrameCountNmt;
|
||||||
unsigned long m_ulCurTxFrameCountNmt;
|
unsigned long m_ulCurRxFrameCount;
|
||||||
unsigned long m_ulCurRxFrameCount;
|
unsigned long m_ulMaxTxFrameCountGen;
|
||||||
unsigned long m_ulMaxTxFrameCountGen;
|
unsigned long m_ulMaxTxFrameCountNmt;
|
||||||
unsigned long m_ulMaxTxFrameCountNmt;
|
unsigned long m_ulMaxRxFrameCount;
|
||||||
unsigned long m_ulMaxRxFrameCount;
|
|
||||||
|
|
||||||
} tEplDllkCalStatistics;
|
} tEplDllkCalStatistics;
|
||||||
|
|
||||||
|
@ -104,12 +102,16 @@ tEplKernel EplDllkCalAddInstance(void);
|
||||||
|
|
||||||
tEplKernel EplDllkCalDelInstance(void);
|
tEplKernel EplDllkCalDelInstance(void);
|
||||||
|
|
||||||
tEplKernel EplDllkCalAsyncGetTxCount(tEplDllAsyncReqPriority * pPriority_p, unsigned int * puiCount_p);
|
tEplKernel EplDllkCalAsyncGetTxCount(tEplDllAsyncReqPriority * pPriority_p,
|
||||||
tEplKernel EplDllkCalAsyncGetTxFrame(void * pFrame_p, unsigned int * puiFrameSize_p, tEplDllAsyncReqPriority Priority_p);
|
unsigned int *puiCount_p);
|
||||||
|
tEplKernel EplDllkCalAsyncGetTxFrame(void *pFrame_p,
|
||||||
|
unsigned int *puiFrameSize_p,
|
||||||
|
tEplDllAsyncReqPriority Priority_p);
|
||||||
// only frames with registered AsndServiceIds are passed to CAL
|
// only frames with registered AsndServiceIds are passed to CAL
|
||||||
tEplKernel EplDllkCalAsyncFrameReceived(tEplFrameInfo * pFrameInfo_p);
|
tEplKernel EplDllkCalAsyncFrameReceived(tEplFrameInfo * pFrameInfo_p);
|
||||||
|
|
||||||
tEplKernel EplDllkCalAsyncSend(tEplFrameInfo * pFrameInfo_p, tEplDllAsyncReqPriority Priority_p);
|
tEplKernel EplDllkCalAsyncSend(tEplFrameInfo * pFrameInfo_p,
|
||||||
|
tEplDllAsyncReqPriority Priority_p);
|
||||||
|
|
||||||
tEplKernel EplDllkCalAsyncClearBuffer(void);
|
tEplKernel EplDllkCalAsyncClearBuffer(void);
|
||||||
|
|
||||||
|
@ -121,16 +123,19 @@ tEplKernel EplDllkCalProcess(tEplEvent * pEvent_p);
|
||||||
|
|
||||||
tEplKernel EplDllkCalAsyncClearQueues(void);
|
tEplKernel EplDllkCalAsyncClearQueues(void);
|
||||||
|
|
||||||
tEplKernel EplDllkCalIssueRequest(tEplDllReqServiceId Service_p, unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
|
tEplKernel EplDllkCalIssueRequest(tEplDllReqServiceId Service_p,
|
||||||
|
unsigned int uiNodeId_p, BYTE bSoaFlag1_p);
|
||||||
|
|
||||||
tEplKernel EplDllkCalAsyncGetSoaRequest(tEplDllReqServiceId* pReqServiceId_p, unsigned int* puiNodeId_p);
|
tEplKernel EplDllkCalAsyncGetSoaRequest(tEplDllReqServiceId * pReqServiceId_p,
|
||||||
|
unsigned int *puiNodeId_p);
|
||||||
|
|
||||||
tEplKernel EplDllkCalAsyncSetPendingRequests(unsigned int uiNodeId_p, tEplDllAsyncReqPriority AsyncReqPrio_p, unsigned int uiCount_p);
|
tEplKernel EplDllkCalAsyncSetPendingRequests(unsigned int uiNodeId_p,
|
||||||
|
tEplDllAsyncReqPriority
|
||||||
|
AsyncReqPrio_p,
|
||||||
|
unsigned int uiCount_p);
|
||||||
|
|
||||||
#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
|
#endif //(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMT_MN)) != 0)
|
||||||
|
|
||||||
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
|
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_DLLK)) != 0)
|
||||||
|
|
||||||
#endif // #ifndef _EPL_DLLKCAL_H_
|
#endif // #ifndef _EPL_DLLKCAL_H_
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/10/02 d.k.: start of the implementation, version 1.00
|
2006/10/02 d.k.: start of the implementation, version 1.00
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef _EPL_ERRORHANDLERK_H_
|
#ifndef _EPL_ERRORHANDLERK_H_
|
||||||
|
@ -98,7 +97,4 @@ tEplKernel PUBLIC EplErrorHandlerkDelInstance(void);
|
||||||
// processes error events
|
// processes error events
|
||||||
tEplKernel PUBLIC EplErrorHandlerkProcess(tEplEvent * pEvent_p);
|
tEplKernel PUBLIC EplErrorHandlerkProcess(tEplEvent * pEvent_p);
|
||||||
|
|
||||||
|
#endif // #ifndef _EPL_ERRORHANDLERK_H_
|
||||||
#endif // #ifndef _EPL_ERRORHANDLERK_H_
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/06/12 d.k.: start of the implementation, version 1.00
|
2006/06/12 d.k.: start of the implementation, version 1.00
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef _EPL_EVENTK_H_
|
#ifndef _EPL_EVENTK_H_
|
||||||
|
@ -103,12 +102,7 @@ tEplKernel PUBLIC EplEventkPost(tEplEvent * pEvent_p);
|
||||||
|
|
||||||
// post errorevents from kernelspace
|
// post errorevents from kernelspace
|
||||||
tEplKernel PUBLIC EplEventkPostError(tEplEventSource EventSource_p,
|
tEplKernel PUBLIC EplEventkPostError(tEplEventSource EventSource_p,
|
||||||
tEplKernel EplError_p,
|
tEplKernel EplError_p,
|
||||||
unsigned int uiArgSize_p,
|
unsigned int uiArgSize_p, void *pArg_p);
|
||||||
void* pArg_p);
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#endif // #ifndef _EPL_EVENTK_H_
|
|
||||||
|
|
||||||
|
|
||||||
|
#endif // #ifndef _EPL_EVENTK_H_
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/06/09 k.t.: start of the implementation
|
2006/06/09 k.t.: start of the implementation
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef _EPLNMTK_H_
|
#ifndef _EPLNMTK_H_
|
||||||
|
@ -75,36 +74,32 @@
|
||||||
#include "../EplNmt.h"
|
#include "../EplNmt.h"
|
||||||
#include "EplEventk.h"
|
#include "EplEventk.h"
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// const defines
|
// const defines
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function prototypes
|
// function prototypes
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0)
|
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_NMTK)) != 0)
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR);
|
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkInit(EPL_MCO_DECL_PTR_INSTANCE_PTR);
|
||||||
|
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
|
EPLDLLEXPORT tEplKernel PUBLIC
|
||||||
|
EplNmtkAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
|
||||||
|
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
|
EPLDLLEXPORT tEplKernel PUBLIC
|
||||||
|
EplNmtkDelInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR);
|
||||||
|
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplNmtkProcess(EPL_MCO_DECL_PTR_INSTANCE_PTR_
|
||||||
tEplEvent * pEvent_p);
|
tEplEvent * pEvent_p);
|
||||||
|
|
||||||
EPLDLLEXPORT tEplNmtState PUBLIC EplNmtkGetNmtState(EPL_MCO_DECL_PTR_INSTANCE_PTR);
|
EPLDLLEXPORT tEplNmtState PUBLIC
|
||||||
|
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)
|
||||||
|
|
||||||
|
#endif // #ifndef _EPLNMTK_H_
|
||||||
|
|
||||||
#endif // #ifndef _EPLNMTK_H_
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,6 @@
|
||||||
|
|
||||||
2006/06/16 -k.t.: start of the implementation
|
2006/06/16 -k.t.: start of the implementation
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "EplNmtk.h"
|
#include "EplNmtk.h"
|
||||||
|
@ -75,22 +74,16 @@
|
||||||
#ifndef _EPLNMTKCAL_H_
|
#ifndef _EPLNMTKCAL_H_
|
||||||
#define _EPLNMTKCAL_H_
|
#define _EPLNMTKCAL_H_
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// const defines
|
// const defines
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function prototypes
|
// function prototypes
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#endif // #ifndef _EPLNMTKCAL_H_
|
||||||
#endif // #ifndef _EPLNMTKCAL_H_
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/06/19 k.t.: start of the implementation
|
2006/06/19 k.t.: start of the implementation
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "../EplObd.h"
|
#include "../EplObd.h"
|
||||||
|
@ -74,12 +73,10 @@
|
||||||
#ifndef _EPLOBDK_H_
|
#ifndef _EPLOBDK_H_
|
||||||
#define _EPLOBDK_H_
|
#define _EPLOBDK_H_
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// const defines
|
// const defines
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@ -95,102 +92,105 @@ extern BYTE MEM abEplObdTrashObject_g[8];
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
|
#if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdInit (EPL_MCO_DECL_PTR_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdInit(EPL_MCO_DECL_PTR_INSTANCE_PTR_
|
||||||
tEplObdInitParam MEM* pInitParam_p);
|
tEplObdInitParam MEM * pInitParam_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdAddInstance (EPL_MCO_DECL_PTR_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdAddInstance(EPL_MCO_DECL_PTR_INSTANCE_PTR_
|
||||||
tEplObdInitParam MEM* pInitParam_p);
|
tEplObdInitParam MEM *
|
||||||
|
pInitParam_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdDeleteInstance (EPL_MCO_DECL_INSTANCE_PTR);
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdDeleteInstance(EPL_MCO_DECL_INSTANCE_PTR);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdWriteEntry (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdWriteEntry(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
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 PUBLIC EplObdReadEntry (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdReadEntry(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
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 PUBLIC EplObdSetStoreLoadObjCallback (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC
|
||||||
tEplObdStoreLoadObjCallback fpCallback_p);
|
EplObdSetStoreLoadObjCallback(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
|
tEplObdStoreLoadObjCallback fpCallback_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdAccessOdPart (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdAccessOdPart(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
tEplObdPart ObdPart_p,
|
tEplObdPart ObdPart_p,
|
||||||
tEplObdDir Direction_p);
|
tEplObdDir Direction_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdDefineVar (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdDefineVar(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
tEplVarParam MEM* pVarParam_p);
|
tEplVarParam MEM * pVarParam_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT void* PUBLIC EplObdGetObjectDataPtr (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT void *PUBLIC EplObdGetObjectDataPtr(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
unsigned int uiIndex_p,
|
||||||
unsigned int uiSubIndex_p);
|
unsigned int uiSubIndex_p);
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdRegisterUserOd (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdRegisterUserOd(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
tEplObdEntryPtr pUserOd_p);
|
tEplObdEntryPtr pUserOd_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT void PUBLIC EplObdInitVarEntry (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT void PUBLIC EplObdInitVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
tEplObdVarEntry MEM* pVarEntry_p,
|
tEplObdVarEntry MEM * pVarEntry_p,
|
||||||
tEplObdType Type_p, tEplObdSize ObdSize_p);
|
tEplObdType Type_p,
|
||||||
|
tEplObdSize ObdSize_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplObdSize PUBLIC EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplObdSize PUBLIC EplObdGetDataSize(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
unsigned int uiIndex_p,
|
||||||
unsigned int uiSubIndex_p);
|
unsigned int uiSubIndex_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT unsigned int PUBLIC EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR);
|
EPLDLLEXPORT unsigned int PUBLIC EplObdGetNodeId(EPL_MCO_DECL_INSTANCE_PTR);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdSetNodeId(EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdSetNodeId(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiNodeId_p,
|
unsigned int uiNodeId_p,
|
||||||
tEplObdNodeIdType NodeIdType_p);
|
tEplObdNodeIdType NodeIdType_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdIsNumerical(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
unsigned int uiIndex_p,
|
||||||
unsigned int uiSubIndex_p,
|
unsigned int uiSubIndex_p,
|
||||||
BOOL* pfEntryNumerical);
|
BOOL * pfEntryNumerical);
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdWriteEntryFromLe (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdWriteEntryFromLe(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
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 PUBLIC EplObdReadEntryToLe (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdReadEntryToLe(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
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 PUBLIC EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdGetAccessType(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
unsigned int uiIndex_p,
|
||||||
unsigned int uiSubIndex_p,
|
unsigned int uiSubIndex_p,
|
||||||
tEplObdAccess* pAccessTyp_p);
|
tEplObdAccess *
|
||||||
|
pAccessTyp_p);
|
||||||
|
|
||||||
// ---------------------------------------------------------------------
|
// ---------------------------------------------------------------------
|
||||||
EPLDLLEXPORT tEplKernel PUBLIC EplObdSearchVarEntry (EPL_MCO_DECL_INSTANCE_PTR_
|
EPLDLLEXPORT tEplKernel PUBLIC EplObdSearchVarEntry(EPL_MCO_DECL_INSTANCE_PTR_
|
||||||
unsigned int uiIndex_p,
|
unsigned int uiIndex_p,
|
||||||
unsigned int uiSubindex_p,
|
unsigned int uiSubindex_p,
|
||||||
tEplObdVarEntry MEM** ppVarEntry_p);
|
tEplObdVarEntry MEM **
|
||||||
|
ppVarEntry_p);
|
||||||
|
|
||||||
#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
|
#endif // end of #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_OBDK)) != 0)
|
||||||
|
|
||||||
#endif // #ifndef _EPLOBDK_H_
|
#endif // #ifndef _EPLOBDK_H_
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -67,7 +67,6 @@
|
||||||
|
|
||||||
2006/06/19 k.t.: start of the implementation
|
2006/06/19 k.t.: start of the implementation
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "../EplObd.h"
|
#include "../EplObd.h"
|
||||||
|
@ -75,22 +74,16 @@
|
||||||
#ifndef _EPLOBDKCAL_H_
|
#ifndef _EPLOBDKCAL_H_
|
||||||
#define _EPLOBDKCAL_H_
|
#define _EPLOBDKCAL_H_
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// const defines
|
// const defines
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function prototypes
|
// function prototypes
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#endif // #ifndef _EPLOBDKCAL_H_
|
||||||
#endif // #ifndef _EPLOBDKCAL_H_
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/05/22 d.k.: start of the implementation, version 1.00
|
2006/05/22 d.k.: start of the implementation, version 1.00
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef _EPL_PDOK_H_
|
#ifndef _EPL_PDOK_H_
|
||||||
|
@ -80,12 +79,10 @@
|
||||||
// const defines
|
// const defines
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function prototypes
|
// function prototypes
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@ -110,7 +107,4 @@ tEplKernel EplPdokAddInstance(void);
|
||||||
|
|
||||||
tEplKernel EplPdokDelInstance(void);
|
tEplKernel EplPdokDelInstance(void);
|
||||||
|
|
||||||
|
#endif // #ifndef _EPL_PDOK_H_
|
||||||
#endif // #ifndef _EPL_PDOK_H_
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/06/26 d.k.: start of the implementation, version 1.00
|
2006/06/26 d.k.: start of the implementation, version 1.00
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef _EPL_PDOKCAL_H_
|
#ifndef _EPL_PDOKCAL_H_
|
||||||
|
@ -79,12 +78,10 @@
|
||||||
// const defines
|
// const defines
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function prototypes
|
// function prototypes
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@ -99,8 +96,4 @@ tEplKernel EplPdokCalSetTpdosValid(BOOL fValid_p);
|
||||||
// gets flag for validity of TPDOs from shared memory
|
// gets flag for validity of TPDOs from shared memory
|
||||||
tEplKernel EplPdokCalAreTpdosValid(BOOL * pfValid_p);
|
tEplKernel EplPdokCalAreTpdosValid(BOOL * pfValid_p);
|
||||||
|
|
||||||
|
#endif // #ifndef _EPL_PDOKCAL_H_
|
||||||
|
|
||||||
#endif // #ifndef _EPL_PDOKCAL_H_
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/09/29 d.k.: start of the implementation
|
2006/09/29 d.k.: start of the implementation
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "../EplTimer.h"
|
#include "../EplTimer.h"
|
||||||
|
@ -82,7 +81,6 @@
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function prototypes
|
// function prototypes
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@ -93,20 +91,19 @@ tEplKernel PUBLIC EplTimerHighReskAddInstance(void);
|
||||||
|
|
||||||
tEplKernel PUBLIC EplTimerHighReskDelInstance(void);
|
tEplKernel PUBLIC EplTimerHighReskDelInstance(void);
|
||||||
|
|
||||||
tEplKernel PUBLIC EplTimerHighReskSetTimerNs(tEplTimerHdl* pTimerHdl_p,
|
tEplKernel PUBLIC EplTimerHighReskSetTimerNs(tEplTimerHdl * pTimerHdl_p,
|
||||||
unsigned long long ullTimeNs_p,
|
unsigned long long ullTimeNs_p,
|
||||||
tEplTimerkCallback pfnCallback_p,
|
tEplTimerkCallback pfnCallback_p,
|
||||||
unsigned long ulArgument_p,
|
unsigned long ulArgument_p,
|
||||||
BOOL fContinuously_p);
|
BOOL fContinuously_p);
|
||||||
|
|
||||||
tEplKernel PUBLIC EplTimerHighReskModifyTimerNs(tEplTimerHdl* pTimerHdl_p,
|
tEplKernel PUBLIC EplTimerHighReskModifyTimerNs(tEplTimerHdl * pTimerHdl_p,
|
||||||
unsigned long long ullTimeNs_p,
|
unsigned long long ullTimeNs_p,
|
||||||
tEplTimerkCallback pfnCallback_p,
|
tEplTimerkCallback
|
||||||
unsigned long ulArgument_p,
|
pfnCallback_p,
|
||||||
BOOL fContinuously_p);
|
unsigned long ulArgument_p,
|
||||||
|
BOOL fContinuously_p);
|
||||||
tEplKernel PUBLIC EplTimerHighReskDeleteTimer(tEplTimerHdl* pTimerHdl_p);
|
|
||||||
|
|
||||||
#endif // #ifndef _EPLTIMERHIGHRESK_H_
|
|
||||||
|
|
||||||
|
tEplKernel PUBLIC EplTimerHighReskDeleteTimer(tEplTimerHdl * pTimerHdl_p);
|
||||||
|
|
||||||
|
#endif // #ifndef _EPLTIMERHIGHRESK_H_
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/07/06 k.t.: start of the implementation
|
2006/07/06 k.t.: start of the implementation
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#include "../EplTimer.h"
|
#include "../EplTimer.h"
|
||||||
|
@ -96,7 +95,6 @@
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function prototypes
|
// function prototypes
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@ -107,16 +105,14 @@ tEplKernel PUBLIC EplTimerkAddInstance(void);
|
||||||
|
|
||||||
tEplKernel PUBLIC EplTimerkDelInstance(void);
|
tEplKernel PUBLIC EplTimerkDelInstance(void);
|
||||||
|
|
||||||
tEplKernel PUBLIC EplTimerkSetTimerMs(tEplTimerHdl* pTimerHdl_p,
|
tEplKernel PUBLIC EplTimerkSetTimerMs(tEplTimerHdl * pTimerHdl_p,
|
||||||
unsigned long ulTime_p,
|
unsigned long ulTime_p,
|
||||||
tEplTimerArg Argument_p);
|
tEplTimerArg Argument_p);
|
||||||
|
|
||||||
tEplKernel PUBLIC EplTimerkModifyTimerMs(tEplTimerHdl* pTimerHdl_p,
|
tEplKernel PUBLIC EplTimerkModifyTimerMs(tEplTimerHdl * pTimerHdl_p,
|
||||||
unsigned long ulTime_p,
|
unsigned long ulTime_p,
|
||||||
tEplTimerArg Argument_p);
|
tEplTimerArg Argument_p);
|
||||||
|
|
||||||
tEplKernel PUBLIC EplTimerkDeleteTimer(tEplTimerHdl* pTimerHdl_p);
|
tEplKernel PUBLIC EplTimerkDeleteTimer(tEplTimerHdl * pTimerHdl_p);
|
||||||
#endif
|
#endif
|
||||||
#endif // #ifndef _EPLTIMERK_H_
|
#endif // #ifndef _EPLTIMERK_H_
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
|
|
||||||
2006/09/19 d.k.: start of the implementation, version 1.00
|
2006/09/19 d.k.: start of the implementation, version 1.00
|
||||||
|
|
||||||
|
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#ifndef _EPL_VETH_H_
|
#ifndef _EPL_VETH_H_
|
||||||
|
@ -78,12 +77,10 @@
|
||||||
// const defines
|
// const defines
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// typedef
|
// typedef
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
|
||||||
|
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
// function prototypes
|
// function prototypes
|
||||||
//---------------------------------------------------------------------------
|
//---------------------------------------------------------------------------
|
||||||
|
@ -96,6 +93,4 @@ tEplKernel PUBLIC VEthDelInstance(void);
|
||||||
|
|
||||||
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_VETH)) != 0)
|
#endif // #if(((EPL_MODULE_INTEGRATION) & (EPL_MODULE_VETH)) != 0)
|
||||||
|
|
||||||
#endif // #ifndef _EPL_VETH_H_
|
#endif // #ifndef _EPL_VETH_H_
|
||||||
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче