cvs commit: src/sys/powerpc/include ucontext.hsrc/sys/powerpc/powerpc copyinout.c machdep.c vm_machdep.c

Peter Grehan grehan at FreeBSD.org
Mon Mar 1 22:13:10 PST 2004


grehan      2004/03/01 22:13:09 PST

  FreeBSD src repository

  Modified files:
    sys/powerpc/include  ucontext.h 
    sys/powerpc/powerpc  copyinout.c machdep.c vm_machdep.c 
  Log:
  Kernel changes for libthr (and probably libpthread).
  
  include/ucontext.h
   - remove trapframe and switch over to 'generic' description of machine
     state. Include version field to help with future modifications.
     Include floating point and altivec state, and hopefully align
     correctly
  
  powerpc/copyinout.c
   - fill out casuptr() sync primitive, required by kern_umtx.c
  
  powerpc/machdep.c
   - shifted proc0/thread0/pcpu setup to before cninit, since
     syscons -> make_dev -> devlock requires a valid curthread
   - implemented get_mcontext/set_mcontext
   - recast sendsig/sigreturn to use get/set_mcontext and new
     ucontext struct. floating point now saved
   - TODO: save/restore altivec state
  
  powerpc/vm_machdep.c
   - implemented cpu_thread_setup/cpu_set_upcall/cpu_set_upcall_kse
   - eliminated trailing whitespace
  
  Submitted by:  Suleiman Souhlal <refugee at segfaulted.com>, ucontext by grehan
  
  Revision  Changes    Path
  1.3       +32 -6     src/sys/powerpc/include/ucontext.h
  1.10      +27 -0     src/sys/powerpc/powerpc/copyinout.c
  1.69      +127 -60   src/sys/powerpc/powerpc/machdep.c
  1.97      +60 -12    src/sys/powerpc/powerpc/vm_machdep.c


More information about the cvs-src mailing list