OSDN Git Service

fc19696987bf650fe29a1b3b0db6ae8bffad1f86
[linuxjm/LDP_man-pages.git] / draft / man4 / mem.4
1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\"     Fri Apr  2 11:32:09 MET DST 1993
3 .\"
4 .\" This is free documentation; you can redistribute it and/or
5 .\" modify it under the terms of the GNU General Public License as
6 .\" published by the Free Software Foundation; either version 2 of
7 .\" the License, or (at your option) any later version.
8 .\"
9 .\" The GNU General Public License's references to "object code"
10 .\" and "executables" are to be interpreted as the output of any
11 .\" document formatting or typesetting system, including
12 .\" intermediate and printed output.
13 .\"
14 .\" This manual is distributed in the hope that it will be useful,
15 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
16 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 .\" GNU General Public License for more details.
18 .\"
19 .\" You should have received a copy of the GNU General Public
20 .\" License along with this manual; if not, write to the Free
21 .\" Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111,
22 .\" USA.
23 .\"
24 .\" Japanese Version Copyright (c) 1996,1997,1998 ISHIKAWA Mutsumi
25 .\"         all rights reserved.
26 .\" Translated Tue Feb 6 16:48:30 JST 1997
27 .\"         by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
28 .\"
29 .\" Japanese Version Last Modified Sun Jan 11 03:52:01 1998
30 .\"     by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
31 .\"
32 .\" WORD:       system memory           システムメモリ
33 .\" WORD:       kernel memory           カーネルメモリ
34 .\" WORD:       system ports            システムポート
35 .\" WORD:       character device file   キャラクターデバイスファイル
36 .\" WORD:       patch                   パッチ
37 .\" WORD:       byte address            バイトアドレス
38 .\" WORD:       physical memory address 物理メモリアドレス
39 .\" WORD:       read-only               読み込み専用
40 .\" WORD:       write-only              書き込み専用
41 .\" WORD:       kernel                  カーネル
42 .\" WORD:       virtual memory          仮想メモリ
43 .\" WORD:       I/O ports               IO ポート
44 .TH MEM 4 1992-11-21 "Linux" "Linux Programmer's Manual"
45 .SH 名前
46 mem, kmem, port \- システムメモリ(system memory)、カーネルメモリ
47 (kernel memory)、システムポート(sysmem ports)
48 .SH 説明
49 \fBmem\fP はコンピュータのメインメモリイメージのキャラクターデバイスファ
50 イル(character device file)である。このデバイスは、例えば、システムを
51 検査するため(また、パッチ(patch)をあてるため)に使われるだろう。
52 .LP
53 .B mem
54 のバイトアドレス(byte address)は 物理メモリアドレスとして解釈される。
55 存在していない場所への参照はエラーが返される。
56 .LP
57 読み込み専用(read-only)あるいは書き込み専用(write-only)のビットへの検
58 査あるいはパッチ当ては予期せぬ結果をもたらすことがある。
59 .LP
60 このデバイスファイルは典型的には次のようにして作られる。:
61 .RS
62 .sp
63 mknod \-m 660 /dev/mem c 1 1
64 .br
65 chown root:kmem /dev/mem
66 .RE
67 .LP
68 .B kmem
69 ファイルは
70 .B mem
71 と同じだが、
72 物理メモリへのアクセスではなく、カーネル(kernel)の仮想
73 メモリ(virtual memory)へのアクセスである点が異なる。
74 .LP
75 このデバイスファイルは典型的には次のようにして作られる。:
76 .RS
77 .sp
78 mknod \-m 640 /dev/kmem c 1 2
79 .br
80 chown root:kmem /dev/kmem
81 .RE
82 .LP
83 \fBport\fP は
84 .B mem
85 に似ているが I/O ポート(I/O ports)へのアクセスが行われる。
86 .LP
87 このデバイスファイルは典型的には次のように作られる。:
88 .RS
89 .sp
90 mknod \-m 660 /dev/port c 1 4
91 .br
92 chown root:mem /dev/port
93 .RE
94 .SH ファイル
95 .I /dev/mem
96 .br
97 .I /dev/kmem
98 .br
99 .I /dev/port
100 .SH 関連項目
101 .BR chown (1),
102 .BR mknod (1),
103 .BR ioperm (2)
104 .\" .SH 翻訳者
105 .\" 石川 睦 <ishikawa@linux.or.jp>