Lines Matching refs:hex2mem
184 static const char *hex2mem(const char *buf, void *_mem, int count,
854 const char *hex2mem(const char *buf, void *_mem, int count, int may_fault)
1432 ptr = hex2mem(ptr, ®s->d0, 4, 0);
1433 ptr = hex2mem(ptr, ®s->d1, 4, 0);
1434 ptr = hex2mem(ptr, ®s->d2, 4, 0);
1435 ptr = hex2mem(ptr, ®s->d3, 4, 0);
1436 ptr = hex2mem(ptr, ®s->a0, 4, 0);
1437 ptr = hex2mem(ptr, ®s->a1, 4, 0);
1438 ptr = hex2mem(ptr, ®s->a2, 4, 0);
1439 ptr = hex2mem(ptr, ®s->a3, 4, 0);
1441 ptr = hex2mem(ptr, &ssp, 4, 0); /* 8 */
1442 ptr = hex2mem(ptr, ®s->pc, 4, 0);
1443 ptr = hex2mem(ptr, ®s->mdr, 4, 0);
1444 ptr = hex2mem(ptr, ®s->epsw, 4, 0);
1445 ptr = hex2mem(ptr, ®s->lir, 4, 0);
1446 ptr = hex2mem(ptr, ®s->lar, 4, 0);
1447 ptr = hex2mem(ptr, ®s->mdrq, 4, 0);
1449 ptr = hex2mem(ptr, ®s->e0, 4, 0); /* 15 */
1450 ptr = hex2mem(ptr, ®s->e1, 4, 0);
1451 ptr = hex2mem(ptr, ®s->e2, 4, 0);
1452 ptr = hex2mem(ptr, ®s->e3, 4, 0);
1453 ptr = hex2mem(ptr, ®s->e4, 4, 0);
1454 ptr = hex2mem(ptr, ®s->e5, 4, 0);
1455 ptr = hex2mem(ptr, ®s->e6, 4, 0);
1456 ptr = hex2mem(ptr, ®s->e7, 4, 0);
1458 ptr = hex2mem(ptr, &ssp, 4, 0);
1459 ptr = hex2mem(ptr, &zero, 4, 0);
1460 ptr = hex2mem(ptr, ®s->sp, 4, 0);
1461 ptr = hex2mem(ptr, ®s->mcrh, 4, 0); /* 26 */
1462 ptr = hex2mem(ptr, ®s->mcrl, 4, 0);
1463 ptr = hex2mem(ptr, ®s->mcvf, 4, 0);
1465 ptr = hex2mem(ptr, &zero, 4, 0); /* 29 - FPCR */
1466 ptr = hex2mem(ptr, &zero, 4, 0);
1467 ptr = hex2mem(ptr, &zero, 4, 0);
1469 ptr = hex2mem(ptr, &zero, 4, 0);
1507 if (hex2mem(ptr, (char *) addr, length, 1))