cvs commit: src/sys/platform/vkernel/conf Makefile files src/sys/platform/vkernel/i386 cpu_regs.c exception.c mp.c mplock.s swtch.s trap.c src/sys/platform/vkernel/include globaldata.h md_var.h pmap.h src/sys/platform/vkernel/platform globaldata.c ...

Matthew Dillon dillon at crater.dragonflybsd.org
Sat Jun 30 19:53:41 PDT 2007


dillon      2007/06/30 19:51:45 PDT

DragonFly src repository

  Modified files:
    sys/platform/vkernel/conf Makefile files 
    sys/platform/vkernel/i386 cpu_regs.c exception.c mp.c mplock.s 
                              swtch.s trap.c 
    sys/platform/vkernel/include globaldata.h md_var.h pmap.h 
    sys/platform/vkernel/platform globaldata.c kqueue.c machintr.c 
                                  pmap.c 
  Added files:
    sys/platform/vkernel/platform shutdown.c 
  Log:
  Bring in all of Joe Talbott's SMP virtual kernel work to date, which makes
  virtual kernel builds with SMP almost get through a full boot.  This work
  includes:
  
      * Creation of 'cpu' threads via libthread_xu
      * Globaldata initialization
      * AP synchronization
      * Bootstrapping to the idle thread
      * SMP pmap (mmu) functions
      * IPI handling
  
  My part of this commit:
  
      * Bring all the signal interrupts under DragonFly's machine independant
        interrupt handler API.  This will properly deal with the MP lock
        and critical section handling.
  
      * Some additional pmap bits to handle SMP invalidation issues.
  
  Submitted-by: Joe Talbott <josepht at cstone.net>
  Additional-bits-by: Matt Dillon
  
  Revision  Changes    Path
  1.7       +1 -1      src/sys/platform/vkernel/conf/Makefile
  1.19      +3 -1      src/sys/platform/vkernel/conf/files
  1.18      +0 -2      src/sys/platform/vkernel/i386/cpu_regs.c
  1.7       +29 -37    src/sys/platform/vkernel/i386/exception.c
  1.2       +356 -35   src/sys/platform/vkernel/i386/mp.c
  1.2       +0 -3      src/sys/platform/vkernel/i386/mplock.s
  1.8       +10 -0     src/sys/platform/vkernel/i386/swtch.s
  1.27      +1 -15     src/sys/platform/vkernel/i386/trap.c
  1.7       +2 -2      src/sys/platform/vkernel/include/globaldata.h
  1.20      +2 -1      src/sys/platform/vkernel/include/md_var.h
  1.4       +1 -0      src/sys/platform/vkernel/include/pmap.h
  1.4       +3 -2      src/sys/platform/vkernel/platform/globaldata.c
  1.5       +43 -44    src/sys/platform/vkernel/platform/kqueue.c
  1.12      +43 -10    src/sys/platform/vkernel/platform/machintr.c
  1.24      +38 -22    src/sys/platform/vkernel/platform/pmap.c


http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/conf/Makefile.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/conf/files.diff?r1=1.18&r2=1.19&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/cpu_regs.c.diff?r1=1.17&r2=1.18&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/exception.c.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/mp.c.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/mplock.s.diff?r1=1.1&r2=1.2&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/swtch.s.diff?r1=1.7&r2=1.8&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/i386/trap.c.diff?r1=1.26&r2=1.27&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/include/globaldata.h.diff?r1=1.6&r2=1.7&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/include/md_var.h.diff?r1=1.19&r2=1.20&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/include/pmap.h.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/globaldata.c.diff?r1=1.3&r2=1.4&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/kqueue.c.diff?r1=1.4&r2=1.5&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/machintr.c.diff?r1=1.11&r2=1.12&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/platform/vkernel/platform/pmap.c.diff?r1=1.23&r2=1.24&f=u





More information about the Commits mailing list