Incorporate address environment interfaces in binfmt/ logic

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5443 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2012-12-19 17:54:26 +00:00
parent 8a32d15598
commit c6b76dbf0e

View File

@ -209,8 +209,11 @@ static inline void ssi_putreg(struct lm3s_ssidev_s *priv, unsigned int offset,
static uint32_t ssi_disable(struct lm3s_ssidev_s *priv);
static void ssi_enable(struct lm3s_ssidev_s *priv, uint32_t enable);
#ifndef CONFIG_SSI_POLLWAIT
static void ssi_semtake(sem_t *sem);
#define ssi_semgive(s) sem_post(s);
#endif
/* SSI data transfer */
@ -446,6 +449,7 @@ static void ssi_enable(struct lm3s_ssidev_s *priv, uint32_t enable)
*
****************************************************************************/
#ifndef CONFIG_SSI_POLLWAIT
static void ssi_semtake(sem_t *sem)
{
int ret;
@ -456,6 +460,7 @@ static void ssi_semtake(sem_t *sem)
while (ret < 0 && errno == EINTR);
DEBUGASSERT(ret == 0);
}
#endif
/****************************************************************************
* Name: ssi_txnull, ssi_txuint16, and ssi_txuint8