mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 22:47:03 +00:00
Fixed compilation errors
This commit is contained in:
parent
98d3e30a22
commit
fa2db8ed4b
11 changed files with 44 additions and 42 deletions
|
|
@ -78,7 +78,7 @@ orbis::SysResult orbis::sys_ioctl(Thread *thread, sint fd, ulong com,
|
|||
}
|
||||
orbis::SysResult orbis::sys_pselect(Thread *thread, sint nd, ptr<fd_set> in,
|
||||
ptr<fd_set> ou, ptr<fd_set> ex,
|
||||
ptr<const struct timespec> ts,
|
||||
ptr<const timespec> ts,
|
||||
ptr<const sigset_t> sm) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -30,8 +30,7 @@ orbis::SysResult orbis::sys_sched_get_priority_min(Thread *thread,
|
|||
sint policy) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult
|
||||
orbis::sys_sched_rr_get_interval(Thread *thread, pid_t pid,
|
||||
ptr<struct timespec> interval) {
|
||||
orbis::SysResult orbis::sys_sched_rr_get_interval(Thread *thread, pid_t pid,
|
||||
ptr<timespec> interval) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ orbis::SysResult orbis::sys_sigwait(Thread *thread,
|
|||
orbis::SysResult orbis::sys_sigtimedwait(Thread *thread,
|
||||
ptr<const struct sigset> set,
|
||||
ptr<struct siginfo> info,
|
||||
ptr<const struct timespec> timeout) {
|
||||
ptr<const timespec> timeout) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_sigwaitinfo(Thread *thread,
|
||||
|
|
|
|||
|
|
@ -48,7 +48,7 @@ orbis::SysResult orbis::sys_thr_kill2(Thread *thread, pid_t pid, slong id,
|
|||
}
|
||||
|
||||
orbis::SysResult orbis::sys_thr_suspend(Thread *thread,
|
||||
ptr<const struct timespec> timeout) {
|
||||
ptr<const timespec> timeout) {
|
||||
if (auto thr_suspend = thread->tproc->ops->thr_suspend) {
|
||||
return thr_suspend(thread, timeout);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#include "sys/sysproto.hpp"
|
||||
#include "time.hpp"
|
||||
#include "utils/Logs.hpp"
|
||||
#include <ctime>
|
||||
|
||||
|
|
@ -100,16 +101,15 @@ orbis::SysResult orbis::sys_clock_gettime(Thread *, clockid_t clock_id,
|
|||
return uwrite(tp, result);
|
||||
}
|
||||
orbis::SysResult orbis::sys_clock_settime(Thread *thread, clockid_t clock_id,
|
||||
ptr<const struct timespec> tp) {
|
||||
ptr<const timespec> tp) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_clock_getres(Thread *thread, clockid_t clock_id,
|
||||
ptr<struct timespec> tp) {
|
||||
ptr<timespec> tp) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_nanosleep(Thread *thread,
|
||||
ptr<const struct timespec> rqtp,
|
||||
ptr<struct timespec> rmtp) {
|
||||
orbis::SysResult orbis::sys_nanosleep(Thread *thread, ptr<const timespec> rqtp,
|
||||
ptr<timespec> rmtp) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_gettimeofday(Thread *thread, ptr<struct timeval> tp,
|
||||
|
|
|
|||
|
|
@ -13,16 +13,16 @@ orbis::SysResult orbis::sys_kmq_setattr(Thread *thread, sint mqd,
|
|||
ptr<struct mq_attr> oattr) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult
|
||||
orbis::sys_kmq_timedreceive(Thread *thread, sint mqd, ptr<const char> msg_ptr,
|
||||
size_t msg_len, ptr<uint> msg_prio,
|
||||
ptr<const struct timespec> abstimeout) {
|
||||
orbis::SysResult orbis::sys_kmq_timedreceive(Thread *thread, sint mqd,
|
||||
ptr<const char> msg_ptr,
|
||||
size_t msg_len, ptr<uint> msg_prio,
|
||||
ptr<const timespec> abstimeout) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult
|
||||
orbis::sys_kmq_timedsend(Thread *thread, sint mqd, ptr<char> msg_ptr,
|
||||
size_t msg_len, ptr<uint> msg_prio,
|
||||
ptr<const struct timespec> abstimeout) {
|
||||
orbis::SysResult orbis::sys_kmq_timedsend(Thread *thread, sint mqd,
|
||||
ptr<char> msg_ptr, size_t msg_len,
|
||||
ptr<uint> msg_prio,
|
||||
ptr<const timespec> abstimeout) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_kmq_notify(Thread *thread, sint mqd,
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ orbis::SysResult orbis::sys_ksem_wait(Thread *thread, semid_t id) {
|
|||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_ksem_timedwait(Thread *thread, semid_t id,
|
||||
ptr<const struct timespec> abstime) {
|
||||
ptr<const timespec> abstime) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_ksem_trywait(Thread *thread, semid_t id) {
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ orbis::SysResult orbis::sys_aio_return(Thread *thread,
|
|||
}
|
||||
orbis::SysResult orbis::sys_aio_suspend(Thread *thread,
|
||||
ptr<struct aiocb> aiocbp, sint nent,
|
||||
ptr<const struct timespec> timeout) {
|
||||
ptr<const timespec> timeout) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_aio_cancel(Thread *thread, sint fd,
|
||||
|
|
@ -44,7 +44,7 @@ orbis::SysResult orbis::sys_lio_listio(Thread *thread, sint mode,
|
|||
}
|
||||
orbis::SysResult orbis::sys_aio_waitcomplete(Thread *thread,
|
||||
ptr<ptr<struct aiocb>> aiocbp,
|
||||
ptr<struct timespec> timeout) {
|
||||
ptr<timespec> timeout) {
|
||||
return ErrorCode::NOSYS;
|
||||
}
|
||||
orbis::SysResult orbis::sys_aio_fsync(Thread *thread, sint op,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue