#include "stdafx.h" #include "Emu/Cell/PPUModule.h" #include "cellDaisy.h" LOG_CHANNEL(cellDaisy); using LFQueue2 = struct CellDaisyLFQueue2; using Lock = struct CellDaisyLock; using ScatterGatherInterlock = struct CellDaisyScatterGatherInterlock; using AtomicInterlock = volatile struct CellDaisyAtomicInterlock; s32 cellDaisyLFQueue2GetPopPointer(vm::ptr queue, vm::ptr pPointer, u32 isBlocking) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLFQueue2CompletePopPointer(vm::ptr queue, s32 pointer, vm::ptr, u32)> fpSendSignal, u32 isQueueFull) { fmt::throw_exception("Unimplemented" HERE); } void cellDaisyLFQueue2PushOpen(vm::ptr queue) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLFQueue2PushClose(vm::ptr queue, vm::ptr, u32)> fpSendSignal) { fmt::throw_exception("Unimplemented" HERE); } void cellDaisyLFQueue2PopOpen(vm::ptr queue) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLFQueue2PopClose(vm::ptr queue, vm::ptr, u32)> fpSendSignal) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLFQueue2HasUnfinishedConsumer(vm::ptr queue, u32 isCancelled) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisy_snprintf(vm::ptr buffer, u32 count, vm::cptr fmt, ppu_va_args_t fmt_args) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_initialize(vm::ptr _this, u32 depth) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_getNextHeadPointer(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_getNextTailPointer(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_completeConsume(vm::ptr _this, u32 pointer) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_completeProduce(vm::ptr _this, u32 pointer) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_pushOpen(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_pushClose(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_popOpen(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyLock_popClose(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } void cellDaisyScatterGatherInterlock_1(vm::ptr _this, vm::ptr ea, u32 size, vm::ptr eaSignal, vm::ptr, u32)> fpSendSignal) { fmt::throw_exception("Unimplemented" HERE); } void cellDaisyScatterGatherInterlock_2(vm::ptr _this, u32 size, vm::ptr ids, u32 numSpus, u8 spup) { fmt::throw_exception("Unimplemented" HERE); } void cellDaisyScatterGatherInterlock_9tor(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyScatterGatherInterlock_probe(vm::ptr _this, u32 isBlocking) { fmt::throw_exception("Unimplemented" HERE); } s32 cellDaisyScatterGatherInterlock_release(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } void cellDaisyScatterGatherInterlock_proceedSequenceNumber(vm::ptr _this) { fmt::throw_exception("Unimplemented" HERE); } DECLARE(ppu_module_manager::cellDaisy)("cellDaisy", []() { REG_FNID(cellDaisy, "_ZN4cell5Daisy17LFQueue2PushCloseEPNS0_8LFQueue2EPFiPvjE", cellDaisyLFQueue2PushClose); REG_FNID(cellDaisy, "_QN4cell5Daisy17LFQueue2PushCloseEPNS0_8LFQueue2EPFiPvjE", cellDaisyLFQueue2PushClose); REG_FNID(cellDaisy, "_ZN4cell5Daisy21LFQueue2GetPopPointerEPNS0_8LFQueue2EPij", cellDaisyLFQueue2GetPopPointer); REG_FNID(cellDaisy, "_QN4cell5Daisy21LFQueue2GetPopPointerEPNS0_8LFQueue2EPij", cellDaisyLFQueue2GetPopPointer); REG_FNID(cellDaisy, "_ZN4cell5Daisy26LFQueue2CompletePopPointerEPNS0_8LFQueue2EiPFiPvjEj", cellDaisyLFQueue2CompletePopPointer); REG_FNID(cellDaisy, "_QN4cell5Daisy26LFQueue2CompletePopPointerEPNS0_8LFQueue2EiPFiPvjEj", cellDaisyLFQueue2CompletePopPointer); REG_FNID(cellDaisy, "_ZN4cell5Daisy29LFQueue2HasUnfinishedConsumerEPNS0_8LFQueue2Ej", cellDaisyLFQueue2HasUnfinishedConsumer); REG_FNID(cellDaisy, "_QN4cell5Daisy29LFQueue2HasUnfinishedConsumerEPNS0_8LFQueue2Ej", cellDaisyLFQueue2HasUnfinishedConsumer); REG_FNID(cellDaisy, "_ZN4cell5Daisy16LFQueue2PushOpenEPNS0_8LFQueue2E", cellDaisyLFQueue2PushOpen); REG_FNID(cellDaisy, "_QN4cell5Daisy16LFQueue2PushOpenEPNS0_8LFQueue2E", cellDaisyLFQueue2PushOpen); REG_FNID(cellDaisy, "_ZN4cell5Daisy16LFQueue2PopCloseEPNS0_8LFQueue2EPFiPvjE", cellDaisyLFQueue2PopClose); REG_FNID(cellDaisy, "_QN4cell5Daisy16LFQueue2PopCloseEPNS0_8LFQueue2EPFiPvjE", cellDaisyLFQueue2PopClose); REG_FNID(cellDaisy, "_ZN4cell5Daisy15LFQueue2PopOpenEPNS0_8LFQueue2E", cellDaisyLFQueue2PopOpen); REG_FNID(cellDaisy, "_QN4cell5Daisy15LFQueue2PopOpenEPNS0_8LFQueue2E", cellDaisyLFQueue2PopOpen); REG_FNID(cellDaisy, "_ZN4cell5Daisy9_snprintfEPcjPKcz", cellDaisy_snprintf); REG_FNID(cellDaisy, "_QN4cell5Daisy9_snprintfEPcjPKcz", cellDaisy_snprintf); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock7popOpenEv", cellDaisyLock_popOpen); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock7popOpenEv", cellDaisyLock_popOpen); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock18getNextHeadPointerEv", cellDaisyLock_getNextHeadPointer); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock18getNextHeadPointerEv", cellDaisyLock_getNextHeadPointer); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock10initializeEj", cellDaisyLock_initialize); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock10initializeEj", cellDaisyLock_initialize); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock15completeProduceEj", cellDaisyLock_completeProduce); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock15completeProduceEj", cellDaisyLock_completeProduce); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock8popCloseEv", cellDaisyLock_popClose); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock8popCloseEv", cellDaisyLock_popClose); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock18getNextTailPointerEv", cellDaisyLock_getNextTailPointer); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock18getNextTailPointerEv", cellDaisyLock_getNextTailPointer); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock8pushOpenEv", cellDaisyLock_pushOpen); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock8pushOpenEv", cellDaisyLock_pushOpen); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock9pushCloseEv", cellDaisyLock_pushClose); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock9pushCloseEv", cellDaisyLock_pushClose); REG_FNID(cellDaisy, "_ZN4cell5Daisy4Lock15completeConsumeEj", cellDaisyLock_completeConsume); REG_FNID(cellDaisy, "_QN4cell5Daisy4Lock15completeConsumeEj", cellDaisyLock_completeConsume); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlockC1EPVNS0_16_AtomicInterlockEjPjjh", cellDaisyScatterGatherInterlock_1); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlockC1EPVNS0_16_AtomicInterlockEjPjjh", cellDaisyScatterGatherInterlock_1); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlockC2EPVNS0_16_AtomicInterlockEjPjjh", cellDaisyScatterGatherInterlock_1); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlockC2EPVNS0_16_AtomicInterlockEjPjjh", cellDaisyScatterGatherInterlock_1); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlockC1EPVNS0_16_AtomicInterlockEjPvPFiS5_jE", cellDaisyScatterGatherInterlock_2); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlockC1EPVNS0_16_AtomicInterlockEjPvPFiS5_jE", cellDaisyScatterGatherInterlock_2); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlockC2EPVNS0_16_AtomicInterlockEjPvPFiS5_jE", cellDaisyScatterGatherInterlock_2); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlockC2EPVNS0_16_AtomicInterlockEjPvPFiS5_jE", cellDaisyScatterGatherInterlock_2); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlockD2Ev", cellDaisyScatterGatherInterlock_9tor); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlockD2Ev", cellDaisyScatterGatherInterlock_9tor); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlockD1Ev", cellDaisyScatterGatherInterlock_9tor); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlockD1Ev", cellDaisyScatterGatherInterlock_9tor); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlock7releaseEv", cellDaisyScatterGatherInterlock_release); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlock7releaseEv", cellDaisyScatterGatherInterlock_release); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlock21proceedSequenceNumberEv", cellDaisyScatterGatherInterlock_proceedSequenceNumber); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlock21proceedSequenceNumberEv", cellDaisyScatterGatherInterlock_proceedSequenceNumber); REG_FNID(cellDaisy, "_ZN4cell5Daisy22ScatterGatherInterlock5probeEj", cellDaisyScatterGatherInterlock_probe); REG_FNID(cellDaisy, "_QN4cell5Daisy22ScatterGatherInterlock5probeEj", cellDaisyScatterGatherInterlock_probe); });