OpenCores
URL https://opencores.org/ocsvn/plasma/plasma/trunk

Subversion Repositories plasma

[/] [plasma/] [trunk/] [kernel/] [os_stubs.c] - Diff between revs 400 and 402

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 400 Rev 402
Line 49... Line 49...
uint32 OS_ThreadTime(void)                   {return 0;}
uint32 OS_ThreadTime(void)                   {return 0;}
OS_Mutex_t *OS_MutexCreate(const char *name) {(void)name; return NULL; }
OS_Mutex_t *OS_MutexCreate(const char *name) {(void)name; return NULL; }
void OS_MutexDelete(OS_Mutex_t *semaphore)   {(void)semaphore;}
void OS_MutexDelete(OS_Mutex_t *semaphore)   {(void)semaphore;}
void OS_MutexPend(OS_Mutex_t *semaphore)     {(void)semaphore;}
void OS_MutexPend(OS_Mutex_t *semaphore)     {(void)semaphore;}
void OS_MutexPost(OS_Mutex_t *semaphore)     {(void)semaphore;}
void OS_MutexPost(OS_Mutex_t *semaphore)     {(void)semaphore;}
 
#if OS_CPU_COUNT > 1
 
   uint32 OS_SpinLock(void)                     {return 0;}
 
   void OS_SpinUnlock(uint32 state)             {(void)state;}
 
#endif
 
 
OS_MQueue_t *OS_MQueueCreate(const char *name,
OS_MQueue_t *OS_MQueueCreate(const char *name,
                             int messageCount,
                             int messageCount,
                             int messageBytes)
                             int messageBytes)
{(void)name;(void)messageCount;(void)messageBytes; return NULL;}
{(void)name;(void)messageCount;(void)messageBytes; return NULL;}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.