diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:41:07 +0000 |
commit | 3af6d22bb3850ab2bac67287e3a3d3b0e32868e5 (patch) | |
tree | 3ee7a3ec64525911fa865bb984c86d997d855527 /man4/mem.4 | |
parent | Adding debian version 6.05.01-1. (diff) | |
download | manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.tar.xz manpages-3af6d22bb3850ab2bac67287e3a3d3b0e32868e5.zip |
Merging upstream version 6.7.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r-- | man4/mem.4 | 24 |
1 files changed, 12 insertions, 12 deletions
@@ -4,7 +4,7 @@ .\" SPDX-License-Identifier: GPL-2.0-or-later .\" .\" Modified Sat Jul 24 16:59:10 1993 by Rik Faith (faith@cs.unc.edu) -.TH mem 4 2022-10-30 "Linux man-pages 6.05.01" +.TH mem 4 2023-10-31 "Linux man-pages 6.7" .SH NAME mem, kmem, port \- system memory, kernel memory and system ports .SH DESCRIPTION @@ -12,31 +12,31 @@ mem, kmem, port \- system memory, kernel memory and system ports is a character device file that is an image of the main memory of the computer. It may be used, for example, to examine (and even patch) the system. -.PP +.P Byte addresses in .I /dev/mem are interpreted as physical memory addresses. References to nonexistent locations cause errors to be returned. -.PP +.P Examining and patching is likely to lead to unexpected results when read-only or write-only bits are present. -.PP +.P Since Linux 2.6.26, and depending on the architecture, the .B CONFIG_STRICT_DEVMEM kernel configuration option limits the areas which can be accessed through this file. For example: on x86, RAM access is not allowed but accessing memory-mapped PCI regions is. -.PP +.P It is typically created by: -.PP +.P .in +4n .EX mknod \-m 660 /dev/mem c 1 1 chown root:kmem /dev/mem .EE .in -.PP +.P The file .I /dev/kmem is the same as @@ -46,23 +46,23 @@ rather than physical memory is accessed. Since Linux 2.6.26, this file is available only if the .B CONFIG_DEVKMEM kernel configuration option is enabled. -.PP +.P It is typically created by: -.PP +.P .in +4n .EX mknod \-m 640 /dev/kmem c 1 2 chown root:kmem /dev/kmem .EE .in -.PP +.P .I /dev/port is similar to .IR /dev/mem , but the I/O ports are accessed. -.PP +.P It is typically created by: -.PP +.P .in +4n .EX mknod \-m 660 /dev/port c 1 4 |