Date: Wed, 23 Aug 2006 21:50:34 GMT From: Oleksandr Tymoshenko <gonzo@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 104864 for review Message-ID: <200608232150.k7NLoYFT022640@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=104864 Change 104864 by gonzo@gonzo_hideout on 2006/08/23 21:50:28 o Keep signal.h in sync with ucontext.h Affected files ... .. //depot/projects/mips2/src/sys/mips/include/signal.h#3 edit Differences ... ==== //depot/projects/mips2/src/sys/mips/include/signal.h#3 (text+ko) ==== @@ -60,41 +60,15 @@ * those in mcontext_t. */ struct sigcontext { - struct __sigset sc_mask; /* signal mask to restore */ - long sc_onstack; /* sigstack state to restore */ - long sc_rdi; /* machine state (struct trapframe) */ - long sc_rsi; - long sc_rdx; - long sc_rcx; - long sc_r8; - long sc_r9; - long sc_rax; - long sc_rbx; - long sc_rbp; - long sc_r10; - long sc_r11; - long sc_r12; - long sc_r13; - long sc_r14; - long sc_r15; - long sc_trapno; - long sc_addr; - long sc_flags; - long sc_err; - long sc_rip; - long sc_cs; - long sc_rflags; - long sc_rsp; - long sc_ss; - long sc_len; /* sizeof(mcontext_t) */ - /* - * XXX - See <machine/ucontext.h> and <machine/fpu.h> for - * the following fields. - */ - long sc_fpformat; - long sc_ownedfp; - long sc_fpstate[64] __aligned(16); - long sc_spare[8]; + int sc_onstack; /* sigstack state to restore */ + __register_t sc_pc; /* pc at time of signal */ + __register_t sc_regs[32]; /* processor regs 0 to 31 */ + __register_t mullo, mulhi; /* mullo and mulhi registers... */ + int sc_fpused; /* fp has been used */ + int sc_fpregs[33]; /* fp regs 0 to 31 and csr */ + int sc_fpc_eir; /* floating point exception instruction + reg */ + int sc_xxx[8]; /* XXX reserved */ }; #endif /* __BSD_VISIBLE */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608232150.k7NLoYFT022640>