git: kernel - Add kernel_fpu_begin() and kernel_fpu_end()

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Oct 31 12:08:20 PDT 2021


commit 1be00ff1850ebb705db236c08160ee8fea99b32a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun Oct 31 12:06:56 2021 -0700

    kernel - Add kernel_fpu_begin() and kernel_fpu_end()
    
    * Add kernel_fpu_begin() and kernel_fpu_end().  Some linux stuff
      in amdgpu will need it.
    
      Generally speaking the entire FP system needs a rewrite, but I'm
      not doing that now.

Summary of changes:
 sys/kern/lwkt_thread.c             |  9 +++++++-
 sys/platform/pc64/include/md_var.h |  6 ++++--
 sys/platform/pc64/x86_64/npx.c     | 43 ++++++++++++++++++++++++++++++++++----
 sys/sys/malloc.h                   |  1 +
 sys/sys/thread.h                   |  3 ++-
 5 files changed, 54 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1be00ff1850ebb705db236c08160ee8fea99b32a


-- 
DragonFly BSD source repository



More information about the Commits mailing list