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

Matthew Dillon dillon at crater.dragonflybsd.org
Sun Oct 31 12:21:04 PDT 2021


commit 0740ba941e7d25a1c60a8d103b50a0486fbeaee5
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.
    
    * Adjust structural fields in thread structure to avoid structure
      size or offset changes in other fields.

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                   |  4 +++-
 5 files changed, 55 insertions(+), 8 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0740ba941e7d25a1c60a8d103b50a0486fbeaee5


-- 
DragonFly BSD source repository


More information about the Commits mailing list