2018-12-09 13:44:32 +01:00
|
|
|
/*******************************************************************************/
|
|
|
|
/* COS2000 - Compatible Operating System - LGPL v3 - Hordé Nicolas */
|
|
|
|
/* */
|
|
|
|
|
|
|
|
#include "libc.h";
|
|
|
|
#include "syscall.h";
|
|
|
|
#include "types.h";
|
|
|
|
|
2018-12-12 17:57:23 +01:00
|
|
|
u32 libc_testapi(void)
|
2018-12-09 13:44:32 +01:00
|
|
|
{
|
2018-12-12 17:57:23 +01:00
|
|
|
syscall3(0x0, 0x1980, 0x2505, 0x4444);
|
|
|
|
}
|
|
|
|
|
|
|
|
u32 libc_exit(u32 errorcode)
|
|
|
|
{
|
|
|
|
syscall1(0x1, errorcode);
|
2018-12-09 13:44:32 +01:00
|
|
|
}
|