cvs commit: src/sys/machine/pc32/i386 trap.c

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jan 6 21:46:04 PST 2007


dillon      2007/01/06 21:41:02 PST

DragonFly src repository

  Modified files:
    sys/machine/pc32/i386 trap.c 
  Log:
  The stack frame available from a signal to user mode stores the fault address
  in tf_err.  The PGEX bits that used to be stored in tf_err are lost.
  
  When a process a virtual kernel (p->p_vkernel != NULL), store the PGEX bits
  in the high 16 bits of the tf_trapno field so the virtual kernel can
  figure out whether the page fault was a read fault or a write fault.
  
  Revision  Changes    Path
  1.90      +5 -2      src/sys/machine/pc32/i386/trap.c


http://www.dragonflybsd.org/cvsweb/src/sys/machine/pc32/i386/trap.c.diff?r1=1.89&r2=1.90&f=u





More information about the Commits mailing list