本文整理汇总了C++中GetCurrentPPUThread函数的典型用法代码示例。如果您正苦于以下问题:C++ GetCurrentPPUThread函数的具体用法?C++ GetCurrentPPUThread怎么用?C++ GetCurrentPPUThread使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。
在下文中一共展示了GetCurrentPPUThread函数的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: cellSpursJobGuardInitialize
s64 cellSpursJobGuardInitialize()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0x1807C, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例2: cellSpursGetWorkloadData
s64 cellSpursGetWorkloadData()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0xA78C, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例3: cellSpursRequestIdleSpu
s64 cellSpursRequestIdleSpu()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0xAD88, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例4: _cellSpursWorkloadAttributeInitialize
s64 _cellSpursWorkloadAttributeInitialize()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0x9F08, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例5: cellSpursAddWorkloadWithAttribute
s64 cellSpursAddWorkloadWithAttribute()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0x9E14, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例6: _cellSpursWorkloadFlagReceiver
s64 _cellSpursWorkloadFlagReceiver()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0xF158, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例7: cellSpursJobChainGetError
s64 cellSpursJobChainGetError()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0x190AC, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例8: cellSpursWorkloadAttributeSetShutdownCompletionEventHook
s64 cellSpursWorkloadAttributeSetShutdownCompletionEventHook()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0x96A4, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例9: cellSpursAttributeEnableSpuPrintfIfAvailable
s64 cellSpursAttributeEnableSpuPrintfIfAvailable(vm::ptr<CellSpursAttribute> attr)
{
#ifdef PRX_DEBUG
cellSpurs->Warning("cellSpursAttributeEnableSpuPrintfIfAvailable(attr_addr=0x%x)", attr.addr());
return GetCurrentPPUThread().FastCall2(libsre + 0x7150, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例10: cellSpursJobChainAttributeSetJobTypeMemoryCheck
s64 cellSpursJobChainAttributeSetJobTypeMemoryCheck()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0x186A4, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例11: cellSpursUnsetExceptionEventHandler
s64 cellSpursUnsetExceptionEventHandler()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0xD77C, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例12: cellSpursReadyCountCompareAndSwap
s64 cellSpursReadyCountCompareAndSwap()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0xA9CC, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例13: cellSpursTasksetGetSpursAddress
s64 cellSpursTasksetGetSpursAddress()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0x14408, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例14: cellSpursCreateTask2WithBinInfo
s64 cellSpursCreateTask2WithBinInfo()
{
#ifdef PRX_DEBUG
cellSpurs->Warning("%s()", __FUNCTION__);
return GetCurrentPPUThread().FastCall2(libsre + 0x120E0, libsre_rtoc);
#else
UNIMPLEMENTED_FUNC(cellSpurs);
return CELL_OK;
#endif
}
开发者ID:ChuckRozhon,项目名称:rpcs3,代码行数:10,代码来源:cellSpurs.cpp
示例15: sys_ppu_thread_once
void sys_ppu_thread_once(vm::ptr<std::atomic<be_t<u32>>> once_ctrl, u32 entry)
{
sys_ppu_thread.Warning("sys_ppu_thread_once(once_ctrl_addr=0x%x, entry=0x%x)", once_ctrl.addr(), entry);
be_t<u32> old = be_t<u32>::MakeFromBE(se32(SYS_PPU_THREAD_ONCE_INIT));
if (once_ctrl->compare_exchange_weak(old, be_t<u32>::MakeFromBE(se32(SYS_PPU_THREAD_DONE_INIT))))
{
GetCurrentPPUThread().FastCall2(Memory.Read32(entry), Memory.Read32(entry + 4));
}
}
开发者ID:hminth,项目名称:rpcs3,代码行数:10,代码来源:sys_ppu_thread.cpp
示例16: sys_rwlock_wunlock
int sys_rwlock_wunlock(u32 rw_lock_id)
{
sys_rwlock.Log("sys_rwlock_wunlock(rw_lock_id=%d)", rw_lock_id);
RWLock* rw;
if (!sys_rwlock.CheckId(rw_lock_id, rw)) return CELL_ESRCH;
if (!rw->wlock_unlock(GetCurrentPPUThread().GetId())) return CELL_EPERM;
return CELL_OK;
}
开发者ID:BlastarIndia,项目名称:rpcs3,代码行数:11,代码来源:SC_Rwlock.cpp
示例17: cellFontSetEffectSlant
int cellFontSetEffectSlant(mem_ptr_t<CellFont> font, float slantParam)
{
slantParam = GetCurrentPPUThread().FPR[1]; // TODO: Something is wrong with the float arguments
cellFont->Log("cellFontSetEffectSlant(font_addr=0x%x, slantParam=%f)", font.GetAddr(), slantParam);
if (!font.IsGood() || slantParam < -1.0 || slantParam > 1.0)
return CELL_FONT_ERROR_INVALID_PARAMETER;
font->slant = slantParam;
return CELL_FONT_OK;
}
开发者ID:0179cool,项目名称:rpcs3,代码行数:11,代码来源:cellFont.cpp
示例18: sys_rwlock_tryrlock
s32 sys_rwlock_tryrlock(u32 rw_lock_id)
{
sys_rwlock.Log("sys_rwlock_tryrlock(rw_lock_id=%d)", rw_lock_id);
RWLock* rw;
if (!sys_rwlock.CheckId(rw_lock_id, rw)) return CELL_ESRCH;
if (!rw->rlock_trylock(GetCurrentPPUThread().GetId())) return CELL_EBUSY;
return CELL_OK;
}
开发者ID:Subv,项目名称:rpcs3,代码行数:11,代码来源:sys_rwlock.cpp
示例19: _sys_spu_printf_detach_thread
s64 _sys_spu_printf_detach_thread(u32 arg)
{
sysPrxForUser->Warning("_sys_spu_printf_detach_thread(arg=0x%x)", arg);
if (!spu_printf_dtcb)
{
return CELL_ESTAT;
}
return GetCurrentPPUThread().FastCall(vm::read32(spu_printf_dtcb), vm::read32(spu_printf_dtcb + 4), arg);
}
开发者ID:fluddokt,项目名称:rpcs3,代码行数:11,代码来源:sysPrxForUser.cpp
示例20: sys_lwmutex_unlock
int sys_lwmutex_unlock(mem_ptr_t<sys_lwmutex_t> lwmutex)
{
sc_lwmutex.Log("sys_lwmutex_unlock(lwmutex_addr=0x%x)", lwmutex.GetAddr());
if (!lwmutex.IsGood()) return CELL_EFAULT;
//ConLog.Write("*** unlocking mutex (addr=0x%x, attr=0x%x, Nrec=%d, owner=%d, waiter=%d)",
//lwmutex.GetAddr(), (u32)lwmutex->attribute, (u32)lwmutex->recursive_count, (u32)lwmutex->vars.parts.owner.GetOwner(), (u32)lwmutex->waiter);
return lwmutex->unlock(GetCurrentPPUThread().GetId());
}
开发者ID:0179cool,项目名称:rpcs3,代码行数:11,代码来源:SC_Lwmutex.cpp
注:本文中的GetCurrentPPUThread函数示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论