cvs commit: src/sys/i386/i386 machdep.c

John Baldwin jhb at
Mon Feb 2 15:22:25 PST 2004

jhb         2004/02/02 15:22:24 PST

  FreeBSD src repository

  Modified files:
    sys/i386/i386        machdep.c 
  Set PCPU_GET(curpcb) for the BSP to thread0's pcb.  Otherwise, the boot CPU
  doesn't have a pcb until after it's first context switch.  This can cause
  secondary panics if a page fault happens during bootup.
  Revision  Changes    Path
  1.586     +1 -0      src/sys/i386/i386/machdep.c

More information about the cvs-all mailing list