git: cpucontrol - Add amd10h support

Matthew Dillon dillon at crater.dragonflybsd.org
Mon Jan 15 16:43:51 PST 2018


commit 7ce1da6a736446c2bb49379f6647bd0d5551b920
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Mon Jan 15 16:28:21 2018 -0800

    cpucontrol - Add amd10h support
    
    * Add support for ryzen and later microcodes.
    
    * Adds general support for AMD microcodes in their
      packed format.  No need to unpack AMD microcode any
      more, cpucontrol will parse the distribution file
      from AMD.
    
    Taken-from: FreeBSD

Summary of changes:
 usr.sbin/cpucontrol/Makefile     |   6 +-
 usr.sbin/cpucontrol/amd.c        |   5 +-
 usr.sbin/cpucontrol/amd.h        |  47 +++++-
 usr.sbin/cpucontrol/amd10h.c     | 308 +++++++++++++++++++++++++++++++++++++++
 usr.sbin/cpucontrol/cpucontrol.8 |  66 ++++++---
 usr.sbin/cpucontrol/cpucontrol.c |  87 +++++++----
 usr.sbin/cpucontrol/cpucontrol.h |   4 +-
 usr.sbin/cpucontrol/intel.c      |  25 ++--
 usr.sbin/cpucontrol/intel.h      |   4 +-
 usr.sbin/cpucontrol/via.c        |   7 +-
 usr.sbin/cpucontrol/via.h        |   4 +-
 11 files changed, 490 insertions(+), 73 deletions(-)
 create mode 100644 usr.sbin/cpucontrol/amd10h.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/7ce1da6a736446c2bb49379f6647bd0d5551b920


-- 
DragonFly BSD source repository



More information about the Commits mailing list