Searched refs:htobe (Results 1 - 9 of 9) sorted by relevance

/gem5/src/arch/sparc/
H A Dremote_gdb.cc178 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(p
[all...]
/gem5/src/arch/power/
H A Dremote_gdb.cc184 r.gpr[i] = htobe((uint32_t)context->readIntReg(i));
189 r.pc = htobe((uint32_t)context->pcState().pc());
191 r.cr = htobe((uint32_t)context->readIntReg(INTREG_CR));
192 r.lr = htobe((uint32_t)context->readIntReg(INTREG_LR));
193 r.ctr = htobe((uint32_t)context->readIntReg(INTREG_CTR));
194 r.xer = htobe((uint32_t)context->readIntReg(INTREG_XER));
/gem5/src/base/vnc/
H A Dvncserver.cc417 uint32_t sec_type = htobe((uint32_t)AuthNone);
422 uint8_t sec_type = htobe((uint8_t)AuthNone);
447 uint32_t success = htobe(VncOK);
460 msg.fbWidth = htobe(videoWidth());
461 msg.fbHeight = htobe(videoHeight());
463 msg.px.bpp = htobe(pixelFormat.bpp);
464 msg.px.depth = htobe(pixelFormat.depth);
465 msg.px.bigendian = htobe(pixelFormat.bigendian);
466 msg.px.truecolor = htobe(pixelFormat.truecolor);
467 msg.px.redmax = htobe(pixelForma
[all...]
/gem5/src/sim/
H A Dbyteswap.hh145 template <typename T> inline T htobe(T value) {return value;} function
151 template <typename T> inline T htobe(T value) {return swap_byte(value);} function
161 htobe(value) : htole(value);
183 inline T htog(T value) {return htobe(value);}
/gem5/src/mem/
H A Dpacket_access.hh114 setRaw(htobe(v));
/gem5/src/base/
H A Dsocket.cc109 htobe<in_addr_t>(bindToLoopback ? INADDR_LOOPBACK : INADDR_ANY);
/gem5/src/dev/sparc/
H A Dmm_disk.cc146 diskData[accessAddr % SectorSize] = htobe(pkt->getRaw<uint8_t>());
/gem5/src/base/loader/
H A Delf_object.cc184 uint32_t os_abi = is_le ? htole(raw_abi) : htobe(raw_abi);
/gem5/src/dev/net/
H A Di8254xGBe.cc113 flash[x] = htobe(flash[x]);
117 csum += htobe(flash[x]);
121 flash[EEPROM_SIZE-1] = htobe((uint16_t)(EEPROM_CSUM - csum));

Completed in 17 milliseconds