2018-06-02 12:33:15 +00:00
|
|
|
// SilicaAndPina
|
|
|
|
// userland <-> userland bridge
|
|
|
|
// WHY TF DO I HAVE TO DO THIS ?
|
|
|
|
|
|
|
|
#include <psp2/kernel/modulemgr.h>
|
|
|
|
#include <taihen.h>
|
|
|
|
#include <vitasdk.h>
|
2019-08-10 10:42:14 +00:00
|
|
|
#include "rtcKernelBridge.h"
|
2018-06-02 12:33:15 +00:00
|
|
|
|
2019-08-10 10:42:14 +00:00
|
|
|
int silRtcSetCurrentTick(unsigned int timestamp1, unsigned int timestamp2)
|
2018-06-02 12:33:15 +00:00
|
|
|
{
|
|
|
|
return ksilRtcSetCurrentTick(timestamp1,timestamp2);
|
|
|
|
}
|
|
|
|
|
2019-08-10 10:42:14 +00:00
|
|
|
int silRtcSetCurrentNetworkTick(unsigned int timestamp1, unsigned int timestamp2)
|
2018-06-02 12:33:15 +00:00
|
|
|
{
|
|
|
|
return ksilRtcSetCurrentNetworkTick(timestamp1,timestamp2);
|
|
|
|
}
|
|
|
|
|
2019-08-10 10:42:14 +00:00
|
|
|
int silRtcSetCurrentSecureTick(unsigned int timestamp1, unsigned int timestamp2)
|
2018-06-02 12:33:15 +00:00
|
|
|
{
|
|
|
|
return ksilRtcSetCurrentSecureTick(timestamp1,timestamp2);
|
|
|
|
}
|
|
|
|
|
2019-08-10 10:42:14 +00:00
|
|
|
int silSblPostSsMgrSetCpRtc(unsigned int timestamp)
|
|
|
|
{
|
|
|
|
return ksilSblPostSsMgrSetCpRtc(timestamp);
|
|
|
|
}
|
|
|
|
|
2019-11-10 15:24:12 +00:00
|
|
|
int silDumpNvsAct(unsigned int fileno)
|
|
|
|
{
|
|
|
|
return ksilDumpNvsAct(fileno);
|
|
|
|
}
|
2019-11-12 10:58:46 +00:00
|
|
|
int silRestoreNvsAct(unsigned int fileno)
|
|
|
|
{
|
|
|
|
return ksilRestoreNvsAct(fileno);
|
|
|
|
}
|
2021-08-21 06:49:39 +00:00
|
|
|
int silIoMount(int id, int permission)
|
|
|
|
{
|
|
|
|
return ksilIoMount(id, permission);
|
|
|
|
}
|
|
|
|
int silIoUmount(int id, int force)
|
|
|
|
{
|
|
|
|
return ksilIoUmount(id, force);
|
|
|
|
}
|
|
|
|
|
2019-11-12 10:58:46 +00:00
|
|
|
void _start() __attribute__ ((weak, alias ("module_start")));
|
2018-06-02 12:33:15 +00:00
|
|
|
int module_start(SceSize argc, const void *args) {
|
|
|
|
return SCE_KERNEL_START_SUCCESS;
|
|
|
|
}
|
|
|
|
|
|
|
|
int module_stop(SceSize argc, const void *args) {
|
|
|
|
return SCE_KERNEL_STOP_SUCCESS;
|
|
|
|
}
|