rpcsx/rpcs3/Emu/Cell/lv2/sys_uart.cpp

36 lines
702 B
C++
Raw Normal View History

2020-12-05 13:08:24 +01:00
#include "stdafx.h"
2020-02-07 10:31:33 +01:00
#include "Emu/Cell/ErrorCodes.h"
#include "sys_uart.h"
LOG_CHANNEL(sys_uart);
error_code sys_uart_initialize()
{
sys_uart.todo("sys_uart_initialize()");
return CELL_OK;
}
error_code sys_uart_receive(vm::ptr<void> buffer, u64 size, u32 unk)
{
sys_uart.todo("sys_uart_receive(buffer=*0x%x, size=0x%llx, unk=0x%x)", buffer, size, unk);
return CELL_OK;
}
error_code sys_uart_send(vm::cptr<void> buffer, u64 size, u64 flags)
{
sys_uart.todo("sys_uart_send(buffer=0x%x, size=0x%llx, flags=0x%x)", buffer, size, flags);
return CELL_OK;
}
error_code sys_uart_get_params(vm::ptr<char> buffer)
{
sys_uart.todo("sys_uart_get_params(buffer=0x%x)", buffer);
return CELL_OK;
}