qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [RFC PATCH 1/7] Generic IOMMU layer


From: malc
Subject: Re: [Qemu-devel] [RFC PATCH 1/7] Generic IOMMU layer
Date: Wed, 14 Jul 2010 10:07:20 +0400 (MSD)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

On Wed, 14 Jul 2010, Eduard - Gabriel Munteanu wrote:

> This provides an API for abstracting IOMMU functions. Hardware emulation
> code can use it to request address translation and access checking. In
> the absence of an emulated IOMMU, no translation/checking happens and
> I/O goes through as before.
> 
> IOMMU emulation code must provide implementation-specific hooks for this
> layer.
> 

[..snip..]

> +int __iommu_rw(struct iommu *iommu,
> +               DeviceState *dev,
> +               target_phys_addr_t addr,
> +               uint8_t *buf,
> +               int len,
> +               int is_write)

Do not use leading double underscore.

[..snip..]

-- 
mailto:address@hidden



reply via email to

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