OSDN Git Service

(split) LDP: Restore and add Copyrights for draft pages
[linuxjm/LDP_man-pages.git] / draft / man4 / msr.4
1 .\" Copyright (c) 2009 Intel Corporation, Author Andi Kleen
2 .\" Some sentences copied from comments in arch/x86/kernel/msr.c
3 .\"
4 .\" %%%LICENSE_START(VERBATIM)
5 .\" Permission is granted to make and distribute verbatim copies of this
6 .\" manual provided the copyright notice and this permission notice are
7 .\" preserved on all copies.
8 .\"
9 .\" Permission is granted to copy and distribute modified versions of this
10 .\" manual under the conditions for verbatim copying, provided that the
11 .\" entire resulting derived work is distributed under the terms of a
12 .\" permission notice identical to this one.
13 .\"
14 .\" Since the Linux kernel and libraries are constantly changing, this
15 .\" manual page may be incorrect or out-of-date.  The author(s) assume no
16 .\" responsibility for errors or omissions, or for damages resulting from
17 .\" the use of the information contained herein.  The author(s) may not
18 .\" have taken the same level of care in the production of this manual,
19 .\" which is licensed free of charge, as they might when working
20 .\" professionally.
21 .\"
22 .\" Formatted or processed versions of this manual, if unaccompanied by
23 .\" the source, must acknowledge the copyright and authors of this work.
24 .\" %%%LICENSE_END
25 .\"
26 .\"*******************************************************************
27 .\"
28 .\" This file was generated with po4a. Translate the source file.
29 .\"
30 .\"*******************************************************************
31 .\"
32 .\" Japanese Version Copyright (c) 2013  Akihiro MOTOKI
33 .\"         all rights reserved.
34 .\" Translated 2013-07-31, Akihiro MOTOKI <amotoki@gmail.com>
35 .\"
36 .TH MSR 4 2009\-03\-31 Linux "Linux Programmer's Manual"
37 .SH 名前
38 msr \- x86 CPU MSR へアクセスするためのデバイス
39 .SH 説明
40 \fI/dev/cpu/CPUNUM/msr\fP は x86 CPU の モデル固有レジスタ (model\-specific registers;
41 MSRs) の読み書きインターフェースを提供する。 \fICPUNUM\fP はアクセスする CPU の番号で、 \fI/proc/cpuinfo\fP
42 に表示される値である。
43
44 レジスタアクセスは、 ファイルをオープンし、 MSR 番号分だけファイルのオフセットを変更し、 8 バイト単位での読み書きを行う形で行われる。 つまり、
45 8 バイトを超える I/O 転送は、同じレジスタに対する複数回の読み書きとなる。
46
47 このファイルは保護されており、 \fIroot\fP ユーザ、もしくは \fIroot\fP グループのメンバだけが読み書きできる。
48 .SH 注意
49 \fImsr\fP ドライバは自動ではロードされない。 モジュールが有効になったカーネルでは、 以下のコマンドを使って、
50 使用する前に明示的にドライバをロードする必要があるだろう。
51
52     $ \fImodprobe msr\fP
53 .SH 関連項目
54 Intel CPU MSR の概要については Intel Corporation Intel 64 and IA\-32 Architectures
55 Software Developer's Manual Volume 3B Appendix B を参照。
56 .SH この文書について
57 この man ページは Linux \fIman\-pages\fP プロジェクトのリリース 3.53 の一部
58 である。プロジェクトの説明とバグ報告に関する情報は
59 http://www.kernel.org/doc/man\-pages/ に書かれている。