URL
https://opencores.org/ocsvn/plasma/plasma/trunk
[/] [plasma/] [trunk/] [tools/] [no_os.c] - Diff between revs 240 and 270
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 240 |
Rev 270 |
Line 19... |
Line 19... |
putchar(*string++);
|
putchar(*string++);
|
}
|
}
|
return 0;
|
return 0;
|
}
|
}
|
|
|
|
void print_hex(unsigned long num)
|
|
{
|
|
long i;
|
|
unsigned long j;
|
|
for(i = 28; i >= 0; i -= 4)
|
|
{
|
|
j = (num >> i) & 0xf;
|
|
if(j < 10)
|
|
putchar('0' + j);
|
|
else
|
|
putchar('a' - 10 + j);
|
|
}
|
|
}
|
|
|
void OS_InterruptServiceRoutine(unsigned int status)
|
void OS_InterruptServiceRoutine(unsigned int status)
|
{
|
{
|
(void)status;
|
(void)status;
|
putchar('I');
|
putchar('I');
|
}
|
}
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.