From owner-freebsd-hackers@FreeBSD.ORG Sun Jan 23 16:06:13 2011 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDE601065675 for ; Sun, 23 Jan 2011 16:06:13 +0000 (UTC) (envelope-from timon@timon.net.nz) Received: from frost.plasmahost.ru (plasmahost.ru [178.63.60.242]) by mx1.freebsd.org (Postfix) with ESMTP id 71D5C8FC19 for ; Sun, 23 Jan 2011 16:06:13 +0000 (UTC) Received: from [192.168.0.246] ([213.141.141.158]) (AUTH: PLAIN timon@timon.net.nz, SSL: TLSv1/SSLv3, 256bits, CAMELLIA256-SHA) by frost.plasmahost.ru with esmtp; Sun, 23 Jan 2011 15:55:30 +0000 id 00017725.000000004D3C4F74.00010F72 Message-ID: <4D3C4F94.7020307@timon.net.nz> Date: Sun, 23 Jan 2011 18:56:04 +0300 From: Alexandr Matveev User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.13) Gecko/20110101 Thunderbird/3.1.7 MIME-Version: 1.0 To: hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: How to read non-physical memory? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Jan 2011 16:06:14 -0000 Hello. When FreeBSD boots with 'boot -v' it show SMAP: SMAP type=01 base=0000000000000000 len=000000000009d800 SMAP type=02 base=000000000009d800 len=0000000000002800 SMAP type=02 base=00000000000e0000 len=0000000000020000 SMAP type=01 base=0000000000100000 len=00000000bfdb0000 <...> SMAP type=02 base=00000000fed1c000 len=0000000000004000 <...> Memory range 0xfed1c000 - 0xfed2000 belongs to ICH8 mapped to memory configuration registers. If I correctly understand mem man page, /dev/mem allow to read only real physical memory. How can I read data from this range? -- Alexandr Matveev