From owner-cvs-src-old@FreeBSD.ORG Wed Nov 17 19:36:13 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C87E1065675 for ; Wed, 17 Nov 2010 19:36:13 +0000 (UTC) (envelope-from andreast@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5A03A8FC12 for ; Wed, 17 Nov 2010 19:36:13 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oAHJaDZi084932 for ; Wed, 17 Nov 2010 19:36:13 GMT (envelope-from andreast@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oAHJaDZZ084931 for cvs-src-old@freebsd.org; Wed, 17 Nov 2010 19:36:13 GMT (envelope-from andreast@repoman.freebsd.org) Message-Id: <201011171936.oAHJaDZZ084931@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to andreast@repoman.freebsd.org using -f From: Andreas Tobler Date: Wed, 17 Nov 2010 19:35:56 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/boot/ofw/libofw ofw_copy.c openfirm.c openfirm.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Nov 2010 19:36:13 -0000 andreast 2010-11-17 19:35:56 UTC FreeBSD src repository Modified files: sys/boot/ofw/libofw ofw_copy.c openfirm.c openfirm.h Log: SVN rev 215438 on 2010-11-17 19:35:56Z by andreast Check the real-mode? OF property to find out whether we operate in real or virtual mode. In virtual mode we have to do memory mapping. On PowerMacs it is usually false while on pSeries we have found that it is true. The real-mode? property is not available on sparc64. Approved by: nwhitehorn (mentor) Revision Changes Path 1.18 +15 -9 src/sys/boot/ofw/libofw/ofw_copy.c 1.17 +12 -0 src/sys/boot/ofw/libofw/openfirm.c 1.12 +1 -0 src/sys/boot/ofw/libofw/openfirm.h