Skip site navigation (1)Skip section navigation (2)

FreeBSD Man Pages

Man Page or Keyword Search:
Man Architecture
Apropos Keyword Search (all sections) Output format
home | help
CPUCONTROL(8)		FreeBSD	System Manager's Manual		 CPUCONTROL(8)

NAME
     cpucontrol	-- control utility for the cpuctl(4) device.

SYNOPSIS
     cpucontrol	[-vh] -m msr[=value] device
     cpucontrol	[-vh] -i level device
     cpucontrol	[-vh] [-d datadir] -u device

DESCRIPTION
     The cpucontrol utility can	be used	to read	and write arbitrary machine-
     specific CPU registers via	the cpuctl(4) special device.  It can also be
     used to apply CPU firmware	updates.

     The following options are available:

     -d	datadir
	     Where to look for microcode images.  The option can be specified
	     multiple times.

     -m	msr[=value]
	     Read/write	the specified MSR.  Both the MSR and the value should
	     be	given as a hex number.

     -i	level
	     Retrieve CPUID info.  Level should	be given as a hex number.

     -u	     Apply CPU firmware	updates.  The cpucontrol utility will walk
	     through the configured data directories and apply all firmware
	     updates available for this	CPU.

     -v	     Increase the verbosity level.

     -h	     Show help message.

EXIT STATUS
     The cpucontrol utility exits 0 on success,	and >0 if an error occurs.

EXAMPLES
     The command

     ``cpucontrol -m 0x10 /dev/cpuctl0''

     will read the contents of TSC MSR from CPU	0.

     To	set the	CPU 0 TSC MSR register value to	0x1 issue

     ``cpucontrol -m 0x10=0x1 /dev/cpuctl0''

     The command

     ``cpucontrol -i 0x1 /dev/cpuctl1''

     will retrieve the CPUID level 0x1 from CPU	1.

     To	perform	firmware updates on CPU	0 from images located at
     /usr/local/share/cpuctl/ use the following	command:

     ``cpucontrol -d /usr/local/share/cpuctl/ -u /dev/cpuctl0''

SEE ALSO
     cpuctl(4)

HISTORY
     The cpucontrol utility first appeared in FreeBSD 7.2.

BUGS
     Yes, probably, report if any.

AUTHORS
     The cpucontrol utility and	this manual page was written by	Stanislav
     Sedov <stas@FreeBSD.org>.

FreeBSD	10.1			August 4, 2008			  FreeBSD 10.1

NAME | SYNOPSIS | DESCRIPTION | EXIT STATUS | EXAMPLES | SEE ALSO | HISTORY | BUGS | AUTHORS

Want to link to this manual page? Use this URL:
<http://www.freebsd.org/cgi/man.cgi?query=cpucontrol&sektion=8&manpath=FreeBSD+7.2-RELEASE>

home | help