qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH, RFC] Smarter compilation for target devices


From: Paul Brook
Subject: Re: [Qemu-devel] [PATCH, RFC] Smarter compilation for target devices
Date: Tue, 28 Apr 2009 18:25:40 +0100
User-agent: KMail/1.9.9

> >  former. Duplicating this logic is both cpu.h and configure is also
> > asking for trouble. At minimum the build should fail if they disagree.
>
> Which logic?

The logic that determines TARGET_PHYS_ADDR_BITS.

By my reading TARGET_PHYS_ADDR_BITS is alway 64 on 64-bit hosts, so there's no 
reason to build separate libraries there.

On a related note, the current big/little endian handling is fairly 
findamentally broken. It kinda works for the current set of targets. However 
for other targets (e.g. big-endian arm, in particular ixp4xx) it doesn't work 
because the endianess of the device depends which bus it's connected to. We 
really need to push the byte swapping down to the softmmu/iotlb code.

Paul




reply via email to

[Prev in Thread] Current Thread [Next in Thread]