Remove private routine declarations from k_chstr.h
Removes a number of pipe related function declarations out of the publicly available header file "microkernel/k_chstr.h". The removed function declarations were already declared in the private header file "ch_buff.h". Change-Id: I389b0b898cddfb9320831b94d85054e4cf9458dc Signed-off-by: Peter Mitsis <peter.mitsis@windriver.com> Signed-off-by: Benjamin Walsh <benjamin.walsh@windriver.com>
This commit is contained in:
parent
dd87d51646
commit
b699ce5e4e
6 changed files with 5 additions and 63 deletions
|
@ -86,69 +86,6 @@ struct chbuff {
|
||||||
unsigned char *pEndOrig;
|
unsigned char *pEndOrig;
|
||||||
};
|
};
|
||||||
|
|
||||||
/* exported functions */
|
|
||||||
|
|
||||||
void BuffInit(unsigned char *pBuffer, int *piBuffSize, struct chbuff *pChBuff);
|
|
||||||
|
|
||||||
void BuffReset(struct chbuff *pBuff);
|
|
||||||
|
|
||||||
void BuffGetFreeSpaceTotal(struct chbuff *pBuff, int *piTotalFreeSpace);
|
|
||||||
|
|
||||||
void BuffGetFreeSpace(struct chbuff *pBuff,
|
|
||||||
int *piTotalFreeSpace,
|
|
||||||
int *piFreeSpaceCont,
|
|
||||||
int *piFreeSpaceAWA);
|
|
||||||
|
|
||||||
void BuffGetAvailDataTotal(struct chbuff *pBuff, int *piAvailDataTotal);
|
|
||||||
|
|
||||||
void BuffGetAvailData(struct chbuff *pBuff,
|
|
||||||
int *piAvailDataTotal,
|
|
||||||
int *piAvailDataCont,
|
|
||||||
int *piAvailDataAWA);
|
|
||||||
|
|
||||||
int BuffEnQ(struct chbuff *pBuff, int iSize, unsigned char **ppWrite);
|
|
||||||
|
|
||||||
int BuffEnQA(struct chbuff *pBuff,
|
|
||||||
int iSize,
|
|
||||||
unsigned char **ppWrite,
|
|
||||||
int *piTransferID);
|
|
||||||
|
|
||||||
void BuffEnQA_End(struct chbuff *pBuff, int iTransferID, int iSize /* optional */);
|
|
||||||
|
|
||||||
int BuffDeQ(struct chbuff *pBuff, int iSize, unsigned char **ppRead);
|
|
||||||
|
|
||||||
int BuffDeQA(struct chbuff *pBuff,
|
|
||||||
int iSize,
|
|
||||||
unsigned char **ppRead,
|
|
||||||
int *piTransferID);
|
|
||||||
|
|
||||||
void BuffDeQA_End(struct chbuff *pBuff, int iTransferID, int iSize /* optional */);
|
|
||||||
|
|
||||||
/* internal functions */
|
|
||||||
|
|
||||||
void WriteMarkersClear(struct chbuff *pBuff);
|
|
||||||
void ReadMarkersClear(struct chbuff *pBuff);
|
|
||||||
int AsyncEnQRegstr(struct chbuff *pBuff, int iSize);
|
|
||||||
int AsyncDeQRegstr(struct chbuff *pBuff, int iSize);
|
|
||||||
void AsyncEnQFinished(struct chbuff *pBuff, int iTransferID);
|
|
||||||
void AsyncDeQFinished(struct chbuff *pBuff, int iTransferID);
|
|
||||||
|
|
||||||
int CalcAvailData(struct chbuff *pBuff, int *piDataAvailCont, int *piDataAvailAWA);
|
|
||||||
|
|
||||||
int CalcFreeSpace(struct chbuff *pBuff, int *piFreeSpaceCont, int *piFreeSpaceAWA);
|
|
||||||
|
|
||||||
void WriteMarkersClear(struct chbuff *pBuff);
|
|
||||||
void ReadMarkersClear(struct chbuff *pBuff);
|
|
||||||
int ScanMarkers(struct marker_list *pMarkerList,
|
|
||||||
int *iSizeBWA,
|
|
||||||
int *pisizeAWA,
|
|
||||||
int *piNbrPendingXfers);
|
|
||||||
|
|
||||||
int BuffFull(struct chbuff *pBuff);
|
|
||||||
int BuffEmpty(struct chbuff *pBuff);
|
|
||||||
|
|
||||||
void ChannelCheck4Intrusion(struct chbuff *pChBuff, unsigned char *pBegin, int iSize);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -34,6 +34,7 @@
|
||||||
#include <kmemcpy.h>
|
#include <kmemcpy.h>
|
||||||
#include <minik.h>
|
#include <minik.h>
|
||||||
#include <kticks.h>
|
#include <kticks.h>
|
||||||
|
#include <ch_buff.h>
|
||||||
|
|
||||||
/****************************************************************************/
|
/****************************************************************************/
|
||||||
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
#include <ch_buff.h>
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* - artefacts: ???
|
* - artefacts: ???
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
#include <ch_buff.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
#include <ch_buff.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
#include <toolchain.h>
|
#include <toolchain.h>
|
||||||
#include <sections.h>
|
#include <sections.h>
|
||||||
#include <misc/__assert.h>
|
#include <misc/__assert.h>
|
||||||
|
#include <ch_buff.h>
|
||||||
|
|
||||||
/*******************************************************************************
|
/*******************************************************************************
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue