Lines Matching refs:regs

366 void show_regs(struct pt_regs * regs)  in show_regs()  argument
372 ah = (regs->pc) >> 32; in show_regs()
373 al = (regs->pc) & 0xffffffff; in show_regs()
374 bh = (regs->regs[18]) >> 32; in show_regs()
375 bl = (regs->regs[18]) & 0xffffffff; in show_regs()
376 ch = (regs->regs[15]) >> 32; in show_regs()
377 cl = (regs->regs[15]) & 0xffffffff; in show_regs()
381 ah = (regs->sr) >> 32; in show_regs()
382 al = (regs->sr) & 0xffffffff; in show_regs()
394 ah = (regs->regs[0]) >> 32; in show_regs()
395 al = (regs->regs[0]) & 0xffffffff; in show_regs()
396 bh = (regs->regs[1]) >> 32; in show_regs()
397 bl = (regs->regs[1]) & 0xffffffff; in show_regs()
398 ch = (regs->regs[2]) >> 32; in show_regs()
399 cl = (regs->regs[2]) & 0xffffffff; in show_regs()
403 ah = (regs->regs[3]) >> 32; in show_regs()
404 al = (regs->regs[3]) & 0xffffffff; in show_regs()
405 bh = (regs->regs[4]) >> 32; in show_regs()
406 bl = (regs->regs[4]) & 0xffffffff; in show_regs()
407 ch = (regs->regs[5]) >> 32; in show_regs()
408 cl = (regs->regs[5]) & 0xffffffff; in show_regs()
412 ah = (regs->regs[6]) >> 32; in show_regs()
413 al = (regs->regs[6]) & 0xffffffff; in show_regs()
414 bh = (regs->regs[7]) >> 32; in show_regs()
415 bl = (regs->regs[7]) & 0xffffffff; in show_regs()
416 ch = (regs->regs[8]) >> 32; in show_regs()
417 cl = (regs->regs[8]) & 0xffffffff; in show_regs()
421 ah = (regs->regs[9]) >> 32; in show_regs()
422 al = (regs->regs[9]) & 0xffffffff; in show_regs()
423 bh = (regs->regs[10]) >> 32; in show_regs()
424 bl = (regs->regs[10]) & 0xffffffff; in show_regs()
425 ch = (regs->regs[11]) >> 32; in show_regs()
426 cl = (regs->regs[11]) & 0xffffffff; in show_regs()
430 ah = (regs->regs[12]) >> 32; in show_regs()
431 al = (regs->regs[12]) & 0xffffffff; in show_regs()
432 bh = (regs->regs[13]) >> 32; in show_regs()
433 bl = (regs->regs[13]) & 0xffffffff; in show_regs()
434 ch = (regs->regs[14]) >> 32; in show_regs()
435 cl = (regs->regs[14]) & 0xffffffff; in show_regs()
439 ah = (regs->regs[16]) >> 32; in show_regs()
440 al = (regs->regs[16]) & 0xffffffff; in show_regs()
441 bh = (regs->regs[17]) >> 32; in show_regs()
442 bl = (regs->regs[17]) & 0xffffffff; in show_regs()
443 ch = (regs->regs[19]) >> 32; in show_regs()
444 cl = (regs->regs[19]) & 0xffffffff; in show_regs()
448 ah = (regs->regs[20]) >> 32; in show_regs()
449 al = (regs->regs[20]) & 0xffffffff; in show_regs()
450 bh = (regs->regs[21]) >> 32; in show_regs()
451 bl = (regs->regs[21]) & 0xffffffff; in show_regs()
452 ch = (regs->regs[22]) >> 32; in show_regs()
453 cl = (regs->regs[22]) & 0xffffffff; in show_regs()
457 ah = (regs->regs[23]) >> 32; in show_regs()
458 al = (regs->regs[23]) & 0xffffffff; in show_regs()
459 bh = (regs->regs[24]) >> 32; in show_regs()
460 bl = (regs->regs[24]) & 0xffffffff; in show_regs()
461 ch = (regs->regs[25]) >> 32; in show_regs()
462 cl = (regs->regs[25]) & 0xffffffff; in show_regs()
466 ah = (regs->regs[26]) >> 32; in show_regs()
467 al = (regs->regs[26]) & 0xffffffff; in show_regs()
468 bh = (regs->regs[27]) >> 32; in show_regs()
469 bl = (regs->regs[27]) & 0xffffffff; in show_regs()
470 ch = (regs->regs[28]) >> 32; in show_regs()
471 cl = (regs->regs[28]) & 0xffffffff; in show_regs()
475 ah = (regs->regs[29]) >> 32; in show_regs()
476 al = (regs->regs[29]) & 0xffffffff; in show_regs()
477 bh = (regs->regs[30]) >> 32; in show_regs()
478 bl = (regs->regs[30]) & 0xffffffff; in show_regs()
479 ch = (regs->regs[31]) >> 32; in show_regs()
480 cl = (regs->regs[31]) & 0xffffffff; in show_regs()
484 ah = (regs->regs[32]) >> 32; in show_regs()
485 al = (regs->regs[32]) & 0xffffffff; in show_regs()
486 bh = (regs->regs[33]) >> 32; in show_regs()
487 bl = (regs->regs[33]) & 0xffffffff; in show_regs()
488 ch = (regs->regs[34]) >> 32; in show_regs()
489 cl = (regs->regs[34]) & 0xffffffff; in show_regs()
493 ah = (regs->regs[35]) >> 32; in show_regs()
494 al = (regs->regs[35]) & 0xffffffff; in show_regs()
495 bh = (regs->regs[36]) >> 32; in show_regs()
496 bl = (regs->regs[36]) & 0xffffffff; in show_regs()
497 ch = (regs->regs[37]) >> 32; in show_regs()
498 cl = (regs->regs[37]) & 0xffffffff; in show_regs()
502 ah = (regs->regs[38]) >> 32; in show_regs()
503 al = (regs->regs[38]) & 0xffffffff; in show_regs()
504 bh = (regs->regs[39]) >> 32; in show_regs()
505 bl = (regs->regs[39]) & 0xffffffff; in show_regs()
506 ch = (regs->regs[40]) >> 32; in show_regs()
507 cl = (regs->regs[40]) & 0xffffffff; in show_regs()
511 ah = (regs->regs[41]) >> 32; in show_regs()
512 al = (regs->regs[41]) & 0xffffffff; in show_regs()
513 bh = (regs->regs[42]) >> 32; in show_regs()
514 bl = (regs->regs[42]) & 0xffffffff; in show_regs()
515 ch = (regs->regs[43]) >> 32; in show_regs()
516 cl = (regs->regs[43]) & 0xffffffff; in show_regs()
520 ah = (regs->regs[44]) >> 32; in show_regs()
521 al = (regs->regs[44]) & 0xffffffff; in show_regs()
522 bh = (regs->regs[45]) >> 32; in show_regs()
523 bl = (regs->regs[45]) & 0xffffffff; in show_regs()
524 ch = (regs->regs[46]) >> 32; in show_regs()
525 cl = (regs->regs[46]) & 0xffffffff; in show_regs()
529 ah = (regs->regs[47]) >> 32; in show_regs()
530 al = (regs->regs[47]) & 0xffffffff; in show_regs()
531 bh = (regs->regs[48]) >> 32; in show_regs()
532 bl = (regs->regs[48]) & 0xffffffff; in show_regs()
533 ch = (regs->regs[49]) >> 32; in show_regs()
534 cl = (regs->regs[49]) & 0xffffffff; in show_regs()
538 ah = (regs->regs[50]) >> 32; in show_regs()
539 al = (regs->regs[50]) & 0xffffffff; in show_regs()
540 bh = (regs->regs[51]) >> 32; in show_regs()
541 bl = (regs->regs[51]) & 0xffffffff; in show_regs()
542 ch = (regs->regs[52]) >> 32; in show_regs()
543 cl = (regs->regs[52]) & 0xffffffff; in show_regs()
547 ah = (regs->regs[53]) >> 32; in show_regs()
548 al = (regs->regs[53]) & 0xffffffff; in show_regs()
549 bh = (regs->regs[54]) >> 32; in show_regs()
550 bl = (regs->regs[54]) & 0xffffffff; in show_regs()
551 ch = (regs->regs[55]) >> 32; in show_regs()
552 cl = (regs->regs[55]) & 0xffffffff; in show_regs()
556 ah = (regs->regs[56]) >> 32; in show_regs()
557 al = (regs->regs[56]) & 0xffffffff; in show_regs()
558 bh = (regs->regs[57]) >> 32; in show_regs()
559 bl = (regs->regs[57]) & 0xffffffff; in show_regs()
560 ch = (regs->regs[58]) >> 32; in show_regs()
561 cl = (regs->regs[58]) & 0xffffffff; in show_regs()
565 ah = (regs->regs[59]) >> 32; in show_regs()
566 al = (regs->regs[59]) & 0xffffffff; in show_regs()
567 bh = (regs->regs[60]) >> 32; in show_regs()
568 bl = (regs->regs[60]) & 0xffffffff; in show_regs()
569 ch = (regs->regs[61]) >> 32; in show_regs()
570 cl = (regs->regs[61]) & 0xffffffff; in show_regs()
574 ah = (regs->regs[62]) >> 32; in show_regs()
575 al = (regs->regs[62]) & 0xffffffff; in show_regs()
576 bh = (regs->tregs[0]) >> 32; in show_regs()
577 bl = (regs->tregs[0]) & 0xffffffff; in show_regs()
578 ch = (regs->tregs[1]) >> 32; in show_regs()
579 cl = (regs->tregs[1]) & 0xffffffff; in show_regs()
583 ah = (regs->tregs[2]) >> 32; in show_regs()
584 al = (regs->tregs[2]) & 0xffffffff; in show_regs()
585 bh = (regs->tregs[3]) >> 32; in show_regs()
586 bl = (regs->tregs[3]) & 0xffffffff; in show_regs()
587 ch = (regs->tregs[4]) >> 32; in show_regs()
588 cl = (regs->tregs[4]) & 0xffffffff; in show_regs()
592 ah = (regs->tregs[5]) >> 32; in show_regs()
593 al = (regs->tregs[5]) & 0xffffffff; in show_regs()
594 bh = (regs->tregs[6]) >> 32; in show_regs()
595 bl = (regs->tregs[6]) & 0xffffffff; in show_regs()
596 ch = (regs->tregs[7]) >> 32; in show_regs()
597 cl = (regs->tregs[7]) & 0xffffffff; in show_regs()
604 if (!user_mode(regs)) { in show_regs()
606 unsigned long sp = regs->regs[15] & 0xffffffff; in show_regs()
708 int dump_fpu(struct pt_regs *regs, elf_fpregset_t *fpu) in dump_fpu() argument
721 regs->sr |= SR_FD; in dump_fpu()
737 struct task_struct *p, struct pt_regs *regs) in copy_thread() argument
747 regs->sr |= SR_FD; in copy_thread()
751 *childregs = *regs; in copy_thread()
753 if (user_mode(regs)) { in copy_thread()
754 childregs->regs[15] = usp; in copy_thread()
757 childregs->regs[15] = (unsigned long)p+THREAD_SIZE; in copy_thread()
761 childregs->regs[9] = 0; /* Set return value for child */ in copy_thread()
774 se = childregs->regs[15]; in copy_thread()
776 childregs->regs[15] = se; in copy_thread()
784 void dump_thread(struct pt_regs * regs, struct user * dump) in dump_thread() argument
789 dump->start_stack = regs->regs[15] & ~(PAGE_SIZE - 1); in dump_thread()
796 dump->regs = *regs; in dump_thread()
798 dump->u_fpvalid = dump_fpu(regs, &dump->fpu); in dump_thread()
823 return do_fork(SIGCHLD, pregs->regs[15], pregs,0); in sys_fork()
832 newsp = pregs->regs[15]; in sys_clone()
851 return do_fork(CLONE_VFORK | CLONE_VM | SIGCHLD, pregs->regs[15], pregs,0); in sys_vfork()