Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Mar 2004 22:13:09 -0800 (PST)
From:      Peter Grehan <grehan@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/powerpc/include ucontext.hsrc/sys/powerpc/powerpc copyinout.c machdep.c vm_machdep.c
Message-ID:  <200403020613.i226D9HA003463@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403020613.i226D9HA003463>