Lines Matching refs:htobe
178 for (int i = 0; i < 32; i++) r.gpr[i] = htobe((uint32_t)context->readIntReg(i));
180 r.pc = htobe((uint32_t)pc.pc());
181 r.npc = htobe((uint32_t)pc.npc());
182 r.y = htobe((uint32_t)context->readIntReg(NumIntArchRegs + 1));
184 r.psr = htobe((uint32_t)pstate);
185 r.fsr = htobe((uint32_t)context->readMiscReg(MISCREG_FSR));
186 r.csr = htobe((uint32_t)context->readIntReg(NumIntArchRegs + 2));
193 for (int i = 0; i < 32; i++) r.gpr[i] = htobe(context->readIntReg(i));
196 r.pc = htobe(pc.pc());
197 r.npc = htobe(pc.npc());
198 r.fsr = htobe(context->readMiscReg(MISCREG_FSR));
199 r.fprs = htobe(context->readMiscReg(MISCREG_FPRS));
200 r.y = htobe(context->readIntReg(NumIntArchRegs + 1));
202 r.state = htobe(