qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] Rename target_phys_addr_t to Phys


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] Rename target_phys_addr_t to Phys
Date: Wed, 4 Jan 2012 23:33:05 +0000

On 4 January 2012 22:09, Anthony Liguori <address@hidden> wrote:
> target_phys_addr_t should exist IMHO in the device model code.

(I assume "should not" ?)

> I think it
> would be more useful to introduce a hw_addr, fix it at u64, make the device
> model and memory API use that, and then make it so we didn't do the
> silliness around libhw32/libhw64.

A lot of the usage of target_phys_addr_t in hw/ is actually not
handling addresses at all, but merely offsets into device IO regions
(ie as parameters to device read/write functions)...

-- PMM



reply via email to

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