PERFORCE change 29745 for review

John Baldwin jhb at FreeBSD.org
Mon Apr 28 11:30:32 PDT 2003


On 25-Apr-2003 Peter Wemm wrote:
> http://perforce.freebsd.org/chv.cgi?CH=29745
> 
> Change 29745 by peter at peter_daintree on 2003/04/25 16:01:39
> 
>       Add a pcb flag to indicate that a full trapframe restore
>       is required, even from syscall.. eg: a sigreturn(2).
>       I'm not sure if this is the right place for it.  mdthread
>       perhaps?  Anyway, it'll do for now.

mdthread sounds right.  Alpha uses a flags field on the trapframe to
accomplish this:

sys/alpha/include/frame.h
#define FRAME_FLAGS             27
#define FRAME_FLAGS_SYSCALL             1 /* partial frame for syscalls */

-- 

John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve!"  -  http://www.FreeBSD.org/


More information about the p4-projects mailing list