From owner-freebsd-arch@freebsd.org Sat Aug 29 19:40:18 2015 Return-Path: Delivered-To: freebsd-arch@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 937099C6C7A for ; Sat, 29 Aug 2015 19:40:18 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from mail.xcllnt.net (mail.xcllnt.net [50.0.150.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 53A8A1D89; Sat, 29 Aug 2015 19:40:17 +0000 (UTC) (envelope-from marcel@xcllnt.net) Received: from [10.1.254.15] (cerberus.brkt.com [208.185.168.138]) (authenticated bits=0) by mail.xcllnt.net (8.15.2/8.15.2) with ESMTPSA id t7TJeDC6017566 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 29 Aug 2015 12:40:15 -0700 (PDT) (envelope-from marcel@xcllnt.net) Subject: Re: Devices with 36-bit paddr on 32-bit system Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2104\)) Content-Type: multipart/signed; boundary="Apple-Mail=_E03D7F3B-79BE-4559-8E88-38E2B78535BB"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5.1 From: Marcel Moolenaar In-Reply-To: Date: Sat, 29 Aug 2015 12:40:07 -0700 Cc: Adrian Chadd , John Baldwin , "freebsd-arch@freebsd.org" Message-Id: <3FD8C08B-5418-4201-ADD1-C636FF1E266F@xcllnt.net> References: <1568331.OrSoeYfXsf@ralph.baldwin.cx> To: Justin Hibbits X-Mailer: Apple Mail (2.2104) X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 19:40:18 -0000 --Apple-Mail=_E03D7F3B-79BE-4559-8E88-38E2B78535BB Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii > On Aug 29, 2015, at 11:35 AM, Justin Hibbits wrote: > > tl;dr I went with using bus_addr_t for the addresses, and kept u_long > for the sizes (I can change it to use bus_size_t instead, but it's > already vm_offset_t on PowerPC, which is long anyway). Unfortunately, you want to change count from u_long to something wider as well. If you have more than 4GB of memory and want a resource for it, you have start=0, end>4GB and count>4GB for the entire range. -- Marcel Moolenaar marcel@xcllnt.net --Apple-Mail=_E03D7F3B-79BE-4559-8E88-38E2B78535BB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJV4gqYAAoJEIda8t8f0tjjsZMQAM4RoqhBy1BxUHo5u1EQri+o DpTaxZBmdetmkiFqeePiFg/NjSJZ6zm37qROmLttgW6OovZyYShNY6rObg4KmRh2 TGMuJDNyB6RqU5T5N7ZOgiY2tag9AH3dA/ZqSgP02VJJAGAwiAXT1Ltm7l69I1KO Jbc1scYhO1qLtKhrcjNaTWjhEK/Zf4kXl/Iubd708zHQvGLcsfp2UM+t/4OQIx5b zgy0lMbxBBMlXlSLBvaVL/pzKdoZK5pPIdkI1iXpxBBSNUn/Ft7uKusJ9uqcc3pF xCAaKvv+39Qtck+Qo2H+5umkdzwpz1F1r7MycllvqKzNKQTqL3h0Fx9rKqqzO8GS 6GUvROZ7kCiEZyygwjQCHPh3qWKht79y2W2FCg2DeiqCHlawJdNtXlhSeJQa+44u 3NlikkdqdaHHyErPMXjQE3X7IiVKglIPMFVkdklWgnG/XUWS3apfDRlomMg8SiyZ fkdW/IzxzWkB48qF2WOnPbYQkzW8/ZInZWxZzsGb/SAhaPB9nxqfcjgMPP4qhUkB 7ptlSfNUIYEl/lo4vvwZWprJZDkXrW/OM7NvFZFykmj0rRZ1Yn3xnlZUb8tfjBwq QhrQMgtt1jQrzQTVg09nYHYiI39fxQrkRmCD0Ich5QpnWwrFHCBThPI067WBZ28m MXf/RN5xkvCV8A1KuHrL =mVcC -----END PGP SIGNATURE----- --Apple-Mail=_E03D7F3B-79BE-4559-8E88-38E2B78535BB--