summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorAriane van der Steldt <ariane@cvs.openbsd.org>2009-04-20 13:26:21 +0000
committerAriane van der Steldt <ariane@cvs.openbsd.org>2009-04-20 13:26:21 +0000
commit766a3b0775f071fc90f4d5596ea776418758a129 (patch)
treeaa233740981712afd1331ee174926dea4353b911 /share/man
parenteb6f96e5e437015a36d400dab7888625c8044243 (diff)
amas device for amd64, describes the physical memory layout on AMD64 CPU.
Replaces pchb with amas for the AMD64 address map. amas0 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 Currently disabled (causing pchb to attach instead). ok art@
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man4/man4.amd64/Makefile6
-rw-r--r--share/man/man4/man4.amd64/amas.486
-rw-r--r--share/man/man4/pci.46
3 files changed, 93 insertions, 5 deletions
diff --git a/share/man/man4/man4.amd64/Makefile b/share/man/man4/man4.amd64/Makefile
index 929f2607146..cbc1b94a4ba 100644
--- a/share/man/man4/man4.amd64/Makefile
+++ b/share/man/man4/man4.amd64/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.10 2009/01/13 13:57:03 kettenis Exp $
+# $OpenBSD: Makefile,v 1.11 2009/04/20 13:26:19 ariane Exp $
-MAN= amdpcib.4 apm.4 autoconf.4 bios.4 cpu.4 intro.4 ioapic.4 mem.4 \
- mpbios.4 mtrr.4 nvram.4 pctr.4
+MAN= amas.4 amdpcib.4 apm.4 autoconf.4 bios.4 cpu.4 intro.4 ioapic.4 \
+ mem.4 mpbios.4 mtrr.4 nvram.4 pctr.4
MLINKS+= mem.4 kmem.4
MANSUBDIR=amd64
diff --git a/share/man/man4/man4.amd64/amas.4 b/share/man/man4/man4.amd64/amas.4
new file mode 100644
index 00000000000..e446ecff9a9
--- /dev/null
+++ b/share/man/man4/man4.amd64/amas.4
@@ -0,0 +1,86 @@
+.\" $OpenBSD: amas.4,v 1.1 2009/04/20 13:26:19 ariane Exp $
+.\"
+.\" Copyright (c) 2009 Ariane van der Steldt <ariane@stack.nl>
+.\"
+.\" Permission to use, copy, modify, and distribute this software for any
+.\" purpose with or without fee is hereby granted, provided that the above
+.\" copyright notice and this permission notice appear in all copies.
+.\"
+.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+.\"
+.Dd $Mdocdate: April 20 2009 $
+.Dt AMAS 4 amd64
+.Os
+.Sh NAME
+.Nm amas
+.Nd AMD memory address map
+.Sh SYNOPSIS
+.Cd "amas* at pci?"
+.Sh DESCRIPTION
+The
+.Nm
+driver provides read access to the AMD memory map, which describes
+the location of physical memory.
+.Pp
+One instance of this device is shared between all cores on a chip.
+This device is present on AMD processors of the 0Fh, 10h and 11h family.
+.Pp
+The
+.Nm
+device can run in either interleaved mode or in non-interleaved mode.
+In interleaved mode, the physical memory addresses are rotated across
+each chip.
+.Nm
+sits between the CPU cores, the dram controller and the hypertransport bus.
+When a CPU requests a memory page,
+.Nm
+decides if the request is serviced from memory local to the chip,
+in which case it normalizes the address and passes it on to the dram
+controller.
+If the request refers to memory present on a different chip,
+the request is forwarded to the correct chip using the hypertransport bus.
+.Pp
+The
+.Nm
+device is configured by the BIOS and kernel startup routines.
+If multiple instances of this device are available,
+all should contain the same information.
+.Sh SEE ALSO
+.Xr pci 4
+.Rs
+.%T "BIOS and Kernel Developer's Guide for AMD Athlon 64 and AMD Opteron Processors"
+.%D February 2006
+.%R Publication # 26094
+.%P pp. 66\(en80
+.\" .%O http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/26094.PDF
+.Re
+.Rs
+.%T "BIOS and Kernel Developer's Guide (BKDG) For AMD Family 10h Processors"
+.%D March 2008
+.%R Publication # 31116
+.%P pp. 158\(en167
+.\" .%O http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/31116.PDF
+.Re
+.Rs
+.%T "BIOS and Kernel Developer's Guide (BKDG) For AMD Family 11h Processors"
+.%D July 2008
+.%R Publication # 41256
+.%P pp. 109\(en114
+.\" .%O http://www.amd.com/us-en/assets/content_type/white_papers_and_tech_docs/41256.pdf
+.Re
+.Sh HISTORY
+The
+.Nm
+driver first appeared in
+.Ox 4.6 .
+.Sh AUTHORS
+The
+.Nm
+driver was written by
+.An Ariane van der Steldt Aq ariane@stack.nl .
diff --git a/share/man/man4/pci.4 b/share/man/man4/pci.4
index e0ac0752f5a..4ec5f2e6654 100644
--- a/share/man/man4/pci.4
+++ b/share/man/man4/pci.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: pci.4,v 1.268 2009/03/07 05:51:42 grange Exp $
+.\" $OpenBSD: pci.4,v 1.269 2009/04/20 13:26:07 ariane Exp $
.\" $NetBSD: pci.4,v 1.29 2000/04/01 00:32:23 tsarna Exp $
.\"
.\" Copyright (c) 2000 Theo de Raadt. All rights reserved.
@@ -31,7 +31,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 7 2009 $
+.Dd $Mdocdate: April 20 2009 $
.Dt PCI 4
.Os
.Sh NAME
@@ -410,6 +410,8 @@ ICS PCI-WDT500/501 watchdog timer device
.Bl -tag -width "piixpcib(4)" -offset ind -compact
.It Xr alipm 4
Acer Labs M7101 SMBus controller
+.It Xr amas 4
+AMD memory address map
.It Xr amdiic 4
AMD-8111 SMBus controller
.It Xr amdpcib 4