]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Check the real-mode? OF property to find out whether we operate in real or
authorandreast <andreast@FreeBSD.org>
Wed, 17 Nov 2010 19:35:56 +0000 (19:35 +0000)
committerandreast <andreast@FreeBSD.org>
Wed, 17 Nov 2010 19:35:56 +0000 (19:35 +0000)
commitd0e1702d582a8cacabfdda86bbf842986beceefa
treed7cf11853de8ebf42252d887ee4a77b672b2b969
parent93d6d79cff82bb8f55ff476f8d69ee082713472b
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)
sys/boot/ofw/libofw/ofw_copy.c
sys/boot/ofw/libofw/openfirm.c
sys/boot/ofw/libofw/openfirm.h