WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 3/3] Add support for OpenBSD

To: Christoph Egger <Christoph.Egger@xxxxxxx>
Subject: Re: [Xen-devel] [PATCH 3/3] Add support for OpenBSD
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Thu, 19 Oct 2006 08:51:43 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Oct 2006 01:04:01 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200610180908.32132.Christoph.Egger@xxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcbzU2sFqbG+Ql9GEduxawANk04WTA==
Thread-topic: [Xen-devel] [PATCH 3/3] Add support for OpenBSD
User-agent: Microsoft-Entourage/11.2.5.060620
On 18/10/06 8:08 am, "Christoph Egger" <Christoph.Egger@xxxxxxx> wrote:

> /usr/include/sys/endian.h:156:1: this is the location of the previous
> definition
> boot/mkelf32.c:94:1: "swap32" redefined
> /usr/include/sys/endian.h:157:1: this is the location of the previous
> definition
> boot/mkelf32.c:95:1: "swap64" redefined
> /usr/include/sys/endian.h:158:1: this is the location of the previous
> definition

Is there a standard definition for these functions (i.e., can we be *sure*
the original definitions have the same semantics as our own)? If not, which
I think is the case, we're better off #undef'ing the old definitions.

 -- Keir



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel