From owner-freebsd-arch@FreeBSD.ORG Tue Jun 18 18:51:09 2013 Return-Path: Delivered-To: arch@freebsd.org Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by hub.freebsd.org (Postfix) with ESMTP id C2E92447; Tue, 18 Jun 2013 18:51:08 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Message-ID: <51C0AC01.8070007@FreeBSD.org> Date: Tue, 18 Jun 2013 14:50:41 -0400 From: Jung-uk Kim User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130517 Thunderbird/17.0.6 MIME-Version: 1.0 To: Robert Millan Subject: Re: Bus space routines References: <51C0345E.4000309@freebsd.org> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: arch@freebsd.org, Niclas Zeising X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2013 18:51:09 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2013-06-18 06:56:15 -0400, Robert Millan wrote: > I think the BSD world did the right thing by introducing new > semantics. Plus they're also more portable (on the hardware > sense), have a look, e.g.: ... > So why not just use those? It seems very natural to me that if you > have something which is unambigous and reliable, you use this > instead of something else which is prone to nasty errors. bus_space(9!) is KPI and it must not be used on userland. Actually, it only works on X86 by pure luck, e.g., bus_space_tag_t is an integral type, it has very simple instructions to directly access I/O space, etc. Please use GNU libc for Debian until we implement proper API. Jung-uk Kim -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (FreeBSD) iQEcBAEBAgAGBQJRwKwAAAoJECXpabHZMqHOs+kH/RGnfuVQK4VkVOuI2HalxV38 /ntERblLlhJjWUdBbNT/ARarSdU9tF1/h9wVGlXEFNWzVUG+Pd3X28VOYrpdNFw6 gQspxQiwO9XDv9iPaZDEjI6wKMS5G6RLzYzpKT0y1xdvtpVcqpJ+VR62nUU9fewW uP78be+1WcqKLuWOIuYsTNGx9isdmrOd2yiA7zinNNjrfAievwxeu+AokAuWWO7q 623v0ePg8e0/lBranAQ3PecK1Mj8JnQa9iySxOiWh7I2HfZbOa6b5eu+suXSPX4L 9ygCzOSaXbp98ASQiKbHUII5/CQyK7JkVhR4upem+H9ZvXFRPHX5ZDXmKYueNE4= =gKtu -----END PGP SIGNATURE-----