1 .\" Copyright (c) 1993 Michael Haardt (michael@moria.de),
2 .\" Fri Apr 2 11:32:09 MET DST 1993
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.
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.
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.
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,
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>
29 .\" Japanese Version Last Modified Sun Jan 11 03:52:01 1998
30 .\" by ISHIKAWA Mutsumi <ishikawa@linux.or.jp>
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"
46 mem, kmem, port \- ¥·¥¹¥Æ¥à¥á¥â¥ê(system memory)¡¢¥«¡¼¥Í¥ë¥á¥â¥ê
47 (kernel memory)¡¢¥·¥¹¥Æ¥à¥Ý¡¼¥È(sysmem ports)
49 \fBmem\fP ¤Ï¥³¥ó¥Ô¥å¡¼¥¿¤Î¥á¥¤¥ó¥á¥â¥ê¥¤¥á¡¼¥¸¤Î¥¥ã¥é¥¯¥¿¡¼¥Ç¥Ð¥¤¥¹¥Õ¥¡
50 ¥¤¥ë(character device file)¤Ç¤¢¤ë¡£¤³¤Î¥Ç¥Ð¥¤¥¹¤Ï¡¢Î㤨¤Ð¡¢¥·¥¹¥Æ¥à¤ò
51 ¸¡ºº¤¹¤ë¤¿¤á(¤Þ¤¿¡¢¥Ñ¥Ã¥Á(patch)¤ò¤¢¤Æ¤ë¤¿¤á)¤Ë»È¤ï¤ì¤ë¤À¤í¤¦¡£
54 ¤Î¥Ð¥¤¥È¥¢¥É¥ì¥¹(byte address)¤Ï ʪÍý¥á¥â¥ê¥¢¥É¥ì¥¹¤È¤·¤Æ²ò¼á¤µ¤ì¤ë¡£
55 ¸ºß¤·¤Æ¤¤¤Ê¤¤¾ì½ê¤Ø¤Î»²¾È¤Ï¥¨¥é¡¼¤¬ÊÖ¤µ¤ì¤ë¡£
57 Æɤ߹þ¤ßÀìÍÑ(read-only)¤¢¤ë¤¤¤Ï½ñ¤¹þ¤ßÀìÍÑ(write-only)¤Î¥Ó¥Ã¥È¤Ø¤Î¸¡
58 ºº¤¢¤ë¤¤¤Ï¥Ñ¥Ã¥ÁÅö¤Æ¤Ïͽ´ü¤»¤Ì·ë²Ì¤ò¤â¤¿¤é¤¹¤³¤È¤¬¤¢¤ë¡£
60 ¤³¤Î¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë¤Ïŵ·¿Åª¤Ë¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æºî¤é¤ì¤ë¡£:
63 mknod \-m 660 /dev/mem c 1 1
65 chown root:kmem /dev/mem
72 ʪÍý¥á¥â¥ê¤Ø¤Î¥¢¥¯¥»¥¹¤Ç¤Ï¤Ê¤¯¡¢¥«¡¼¥Í¥ë(kernel)¤Î²¾ÁÛ
73 ¥á¥â¥ê(virtual memory)¤Ø¤Î¥¢¥¯¥»¥¹¤Ç¤¢¤ëÅÀ¤¬°Û¤Ê¤ë¡£
75 ¤³¤Î¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë¤Ïŵ·¿Åª¤Ë¤Ï¼¡¤Î¤è¤¦¤Ë¤·¤Æºî¤é¤ì¤ë¡£:
78 mknod \-m 640 /dev/kmem c 1 2
80 chown root:kmem /dev/kmem
85 ¤Ë»÷¤Æ¤¤¤ë¤¬ I/O ¥Ý¡¼¥È(I/O ports)¤Ø¤Î¥¢¥¯¥»¥¹¤¬¹Ô¤ï¤ì¤ë¡£
87 ¤³¤Î¥Ç¥Ð¥¤¥¹¥Õ¥¡¥¤¥ë¤Ïŵ·¿Åª¤Ë¤Ï¼¡¤Î¤è¤¦¤Ëºî¤é¤ì¤ë¡£:
90 mknod \-m 660 /dev/port c 1 4
92 chown root:mem /dev/port
105 .\" ÀÐÀî ËÓ <ishikawa@linux.or.jp>