URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 297 |
Rev 338 |
/* Origin: PR c/8467 */
|
/* Origin: PR c/8467 */
|
|
|
extern void abort (void);
|
extern void abort (void);
|
extern void exit (int);
|
extern void exit (int);
|
|
|
int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type);
|
int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type);
|
|
|
int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type)
|
int aim_callhandler(int sess, int conn, unsigned short family, unsigned short type)
|
{
|
{
|
static int i = 0;
|
static int i = 0;
|
|
|
if (!conn)
|
if (!conn)
|
return 0;
|
return 0;
|
|
|
if (type == 0xffff)
|
if (type == 0xffff)
|
{
|
{
|
return 0;
|
return 0;
|
}
|
}
|
|
|
if (i >= 1)
|
if (i >= 1)
|
abort ();
|
abort ();
|
|
|
i++;
|
i++;
|
return aim_callhandler(sess, conn, family, (unsigned short) 0xffff);
|
return aim_callhandler(sess, conn, family, (unsigned short) 0xffff);
|
}
|
}
|
|
|
int main (void)
|
int main (void)
|
{
|
{
|
aim_callhandler (0, 1, 0, 0);
|
aim_callhandler (0, 1, 0, 0);
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.