]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/3/arch
vt: implement proper selections (thanks Ori_B)
[plan9front.git] / sys / man / 3 / arch
old mode 100755 (executable)
new mode 100644 (file)
index 7cd5e82..6218363
@@ -5,16 +5,20 @@ arch \- architecture-specific information and control
 .nf
 .B bind -a #P /dev
 .sp 0.3v
+.B /dev/acpitbls
 .B /dev/archctl
 .B /dev/cputype
+.B /dev/ec
 .B /dev/ioalloc
 .B /dev/iob
 .B /dev/iol
 .B /dev/iow
 .B /dev/irqalloc
+.B /dev/msr
+.B /dev/realmodemem
 .SH DESCRIPTION
 This device presents textual information about PC hardware and allows
-user-level control of the I/O ports on x86-class and DEC Alpha machines.
+user-level control of the I/O ports on x86-class machines.
 .PP
 Reads from
 .I cputype
@@ -116,11 +120,33 @@ Reads and writes to
 .IR iob ,
 .IR iow ,
 and
-.I iol
+.IR iol
 cause 8-bit wide, 16-bit wide, and 32-bit wide requests to
 I/O ports.
 The port accessed is determined by the byte offset of the
 file descriptor.
+.PP
+Reads and writes to
+.I msr
+go to the P4/P6/Core/Core2/AMD64 MSRs.
+.PP
+The
+.I realmodemem
+file provides access to the first megabyte of memory. This
+allows reading BIOS data structures and option ROMs.
+Writing is limited to the VGA framebuffer at [0xA0000-0xBFFFF].
+.PP
+Reads and writes to
+.I ec
+transfer bytes from and to the embedded controller.
+.PP
+Reads from
+.I acpitbls
+return a concatenation of system ACPI tables. Each table
+is prefixed with a fixed size header that gives the name
+sigature and size of the table (see section
+.IR "5.2.6 System Description Table Header"
+in the ACPI specification).
 .SH EXAMPLE
 The following code reads from an x86 byte I/O port.
 .IP