2020-12-05 13:08:24 +01:00
|
|
|
#include "stdafx.h"
|
2018-09-29 00:12:00 +02:00
|
|
|
#include "sys_trace.h"
|
|
|
|
|
|
2016-04-14 00:23:53 +02:00
|
|
|
#include "Emu/Cell/ErrorCodes.h"
|
2013-11-09 02:05:58 +01:00
|
|
|
|
2018-02-09 15:49:37 +01:00
|
|
|
|
2016-08-19 23:14:10 +02:00
|
|
|
|
2018-08-25 14:39:00 +02:00
|
|
|
LOG_CHANNEL(sys_trace);
|
2013-11-09 02:05:58 +01:00
|
|
|
|
2019-08-14 17:18:06 +02:00
|
|
|
// TODO: DEX/DECR mode support?
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_create()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_create()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_start()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_start()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_stop()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_stop()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_update_top_index()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_update_top_index()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_destroy()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_destroy()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_drain()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_drain()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_attach_process()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_attach_process()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_allocate_buffer()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_allocate_buffer()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_free_buffer()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_free_buffer()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|
|
|
|
|
|
2014-06-25 00:38:34 +02:00
|
|
|
s32 sys_trace_create2()
|
2013-11-09 02:05:58 +01:00
|
|
|
{
|
2016-01-12 22:57:16 +01:00
|
|
|
sys_trace.todo("sys_trace_create2()");
|
2019-08-14 17:18:06 +02:00
|
|
|
return CELL_ENOSYS;
|
2013-11-09 02:05:58 +01:00
|
|
|
}
|