Lines Matching refs:CMIPS
84 void CMcServ::Invoke(CMIPS& context, unsigned int functionId) in Invoke()
183 assembler.JR(CMIPS::RA); in BuildCustomCode()
184 assembler.ADDIU(CMIPS::R0, CMIPS::R0, CUSTOM_STARTREADFAST); in BuildCustomCode()
187 assembler.JR(CMIPS::RA); in BuildCustomCode()
188 assembler.ADDIU(CMIPS::R0, CMIPS::R0, CUSTOM_PROCEEDREADFAST); in BuildCustomCode()
191 assembler.JR(CMIPS::RA); in BuildCustomCode()
192 assembler.ADDIU(CMIPS::R0, CMIPS::R0, CUSTOM_FINISHREADFAST); in BuildCustomCode()
210 assembler.ADDIU(CMIPS::SP, CMIPS::SP, -stackAlloc); in AssembleReadFast()
211 assembler.SW(CMIPS::RA, 0xFC, CMIPS::SP); in AssembleReadFast()
212 assembler.SW(CMIPS::S0, 0xF8, CMIPS::SP); in AssembleReadFast()
214 assembler.LI(CMIPS::S0, m_moduleDataAddr); in AssembleReadFast()
224 assembler.LW(CMIPS::A0, offsetof(MODULEDATA, readFastSize), CMIPS::S0); in AssembleReadFast()
225 assembler.BNE(CMIPS::A0, CMIPS::R0, readNextLabel); in AssembleReadFast()
231 assembler.LW(CMIPS::S0, 0xF8, CMIPS::SP); in AssembleReadFast()
232 assembler.LW(CMIPS::RA, 0xFC, CMIPS::SP); in AssembleReadFast()
233 assembler.JR(CMIPS::RA); in AssembleReadFast()
234 assembler.ADDIU(CMIPS::SP, CMIPS::SP, stackAlloc); in AssembleReadFast()
741 void CMcServ::StartReadFast(CMIPS& context) in StartReadFast()
746 context.m_State.nGPR[CMIPS::A0].nV0 = m_moduleDataAddr + offsetof(MODULEDATA, rpcClientData); in StartReadFast()
747 context.m_State.nGPR[CMIPS::A1].nV0 = MODULE_ID; in StartReadFast()
748 context.m_State.nGPR[CMIPS::A2].nV0 = 0; //Wait mode in StartReadFast()
755 void CMcServ::ProceedReadFast(CMIPS& context) in ProceedReadFast()
777 context.m_State.nGPR[CMIPS::A0].nV0 = m_moduleDataAddr + offsetof(MODULEDATA, rpcClientData); in ProceedReadFast()
778 context.m_State.nGPR[CMIPS::A1].nV0 = 2; in ProceedReadFast()
779 context.m_State.nGPR[CMIPS::A2].nV0 = 0; in ProceedReadFast()
780 context.m_State.nGPR[CMIPS::A3].nV0 = m_moduleDataAddr + offsetof(MODULEDATA, rpcBuffer); in ProceedReadFast()
781 …context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x10, MODULEDATA::RPC_BUFFER_S… in ProceedReadFast()
782 …context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x14, m_moduleDataAddr + offse… in ProceedReadFast()
783 …context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x18, MODULEDATA::RPC_BUFFER_S… in ProceedReadFast()
784 context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x1C, 0); in ProceedReadFast()
785 context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x20, 0); in ProceedReadFast()
790 void CMcServ::FinishReadFast(CMIPS& context) in FinishReadFast()