129494Ssam/* 2*61190Sbostic * Copyright (c) 1983, 1993 3*61190Sbostic * The Regents of the University of California. All rights reserved. 434389Sbostic * 542648Sbostic * %sccs.include.redist.c% 629494Ssam */ 729494Ssam 834389Sbostic#if defined(SYSLIBC_SCCS) && !defined(lint) 9*61190Sbostic .asciz "@(#)sigreturn.s 8.1 (Berkeley) 06/04/93" 1034389Sbostic#endif /* SYSLIBC_SCCS and not lint */ 1129494Ssam 1229494Ssam#include "SYS.h" 1329494Ssam 1429494Ssam/* 1529494Ssam * We must preserve the state of the registers as the user has set them up. 1629494Ssam */ 1729494Ssam#ifdef PROF 1829494Ssam#define POPR(r) movl (sp)+,r 1929494Ssam#undef ENTRY 2029494Ssam#define ENTRY(x) \ 2129494Ssam .globl _/**/x; .align 2; _/**/x: .word 0; \ 2229494Ssam pushl r0; pushl r1; pushl r2; pushl r3; pushl r4; pushl r5; \ 2329494Ssam .data; 1:; .long 0; .text; pushl $1b; callf $8,mcount; \ 2429494Ssam POPR(r5); POPR(r4); POPR(r3); POPR(r2); POPR(r1); POPR(r0); 2529494Ssam#endif PROF 2629494Ssam 2729494SsamSYSCALL(sigreturn) 2829494Ssam ret 29