URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [kernel/] [rtos_ex.c] - Diff between revs 407 and 416
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 407 |
Rev 416 |
Line 90... |
Line 90... |
}
|
}
|
|
|
void OS_AsmInterruptInit(void)
|
void OS_AsmInterruptInit(void)
|
{
|
{
|
}
|
}
|
|
|
|
void UartInit(void) {}
|
|
uint8 UartRead(void) {return getch();}
|
|
int OS_kbhit(void) {return kbhit();}
|
|
void UartPrintf(const char *format,
|
|
int arg0, int arg1, int arg2, int arg3,
|
|
int arg4, int arg5, int arg6, int arg7)
|
|
{
|
|
char buffer[256], *ptr = buffer;
|
|
|
|
sprintf(buffer, format, arg0, arg1, arg2, arg3,
|
|
arg4, arg5, arg6, arg7);
|
|
while(ptr[0])
|
|
putchar(*ptr++);
|
|
}
|
|
|
#endif //WIN32
|
#endif //WIN32
|
|
|
|
|
#if OS_CPU_COUNT > 1
|
#if OS_CPU_COUNT > 1
|
static volatile uint8 SpinLockArray[OS_CPU_COUNT];
|
static volatile uint8 SpinLockArray[OS_CPU_COUNT];
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.