qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] qemu/linux-user syscall.c


From: Paul Brook
Subject: Re: [Qemu-devel] qemu/linux-user syscall.c
Date: Mon, 28 May 2007 22:40:21 +0100
User-agent: KMail/1.9.7

On Monday 28 May 2007, Blue Swirl wrote:
> On 5/28/07, Paul Brook <address@hidden> wrote:
> > target_phys_addr_t isn't really meaningful for userspace emulation.
> > We don't have physical addresses, only target (target_ulong) and
> > host (void *) virtual addresses.
>
> Vice versa, there are a some references in hw/*.c to target_ulong,
> shouldn't they in general be target_phys_addr_t? PPC CPU register
> definitions may be an exception.

Probably. I wouldn't be surprised if there are many places that break when 
guest physical addresses are larger than guest virtual addresses.

Paul




reply via email to

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