]> git.lizzy.rs Git - plan9front.git/blobdiff - sys/man/3/arch
vt: implement proper selections (thanks Ori_B)
[plan9front.git] / sys / man / 3 / arch
index 413ef9d08f5275bec1a62027655b1ceba9ab9534..62183635359fc7cff535acc3b689c8d1ab83ecaa 100644 (file)
@@ -5,17 +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
@@ -126,6 +129,24 @@ file descriptor.
 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