git: Import cpuctl pseudo device from FreeBSD

Joris Giovannangeli joris at crater.dragonflybsd.org
Tue Nov 18 12:52:56 PST 2014


commit d4ef66945aed8476e02f05a7261843a95e5f12bd
Author: Joris Giovannangeli <joris at giovannangeli.fr>
Date:   Tue Nov 18 21:49:21 2014 +0100

    Import cpuctl pseudo device from FreeBSD
    
    The cpuctl pseudo device allows to perform cpu microcode updates.

Summary of changes:
 share/man/man4/Makefile            |   1 +
 share/man/man4/cpuctl.4            | 154 ++++++++++++
 sys/conf/files                     |   1 +
 sys/config/LINT                    |   4 +
 sys/config/LINT64                  |   4 +
 sys/cpu/i386/include/cpufunc.h     |   1 +
 sys/cpu/x86_64/include/cpufunc.h   |   1 +
 sys/dev/misc/Makefile              |   2 +-
 sys/dev/misc/cpuctl/Makefile       |   6 +
 sys/dev/misc/cpuctl/cpuctl.c       | 471 +++++++++++++++++++++++++++++++++++++
 sys/platform/pc32/i386/support.s   |  22 ++
 sys/platform/pc64/x86_64/support.s |  19 ++
 sys/sys/cpuctl.h                   |  54 +++++
 usr.sbin/Makefile                  |   1 +
 usr.sbin/cpucontrol/Makefile       |   9 +
 usr.sbin/cpucontrol/amd.c          | 181 ++++++++++++++
 usr.sbin/cpucontrol/amd.h          |  49 ++++
 usr.sbin/cpucontrol/cpucontrol.8   | 173 ++++++++++++++
 usr.sbin/cpucontrol/cpucontrol.c   | 430 +++++++++++++++++++++++++++++++++
 usr.sbin/cpucontrol/cpucontrol.h   |  56 +++++
 usr.sbin/cpucontrol/intel.c        | 287 ++++++++++++++++++++++
 usr.sbin/cpucontrol/intel.h        |  70 ++++++
 usr.sbin/cpucontrol/via.c          | 224 ++++++++++++++++++
 usr.sbin/cpucontrol/via.h          |  63 +++++
 24 files changed, 2282 insertions(+), 1 deletion(-)
 create mode 100644 share/man/man4/cpuctl.4
 create mode 100644 sys/dev/misc/cpuctl/Makefile
 create mode 100644 sys/dev/misc/cpuctl/cpuctl.c
 create mode 100644 sys/sys/cpuctl.h
 create mode 100644 usr.sbin/cpucontrol/Makefile
 create mode 100644 usr.sbin/cpucontrol/amd.c
 create mode 100644 usr.sbin/cpucontrol/amd.h
 create mode 100644 usr.sbin/cpucontrol/cpucontrol.8
 create mode 100644 usr.sbin/cpucontrol/cpucontrol.c
 create mode 100644 usr.sbin/cpucontrol/cpucontrol.h
 create mode 100644 usr.sbin/cpucontrol/intel.c
 create mode 100644 usr.sbin/cpucontrol/intel.h
 create mode 100644 usr.sbin/cpucontrol/via.c
 create mode 100644 usr.sbin/cpucontrol/via.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/d4ef66945aed8476e02f05a7261843a95e5f12bd


-- 
DragonFly BSD source repository



More information about the Commits mailing list