On 05/14/2012 08:23 PM, David Gibson wrote:
On Mon, May 14, 2012 at 07:42:00PM -0500, Anthony Liguori wrote:
On 05/09/2012 11:48 PM, Benjamin Herrenschmidt wrote:
From: David Gibson
[snip]
@@ -3581,6 +3581,59 @@ void cpu_physical_memory_rw(target_phys_addr_t addr,
uint8_t *buf,
}
}
On Mon, May 14, 2012 at 07:42:00PM -0500, Anthony Liguori wrote:
> On 05/09/2012 11:48 PM, Benjamin Herrenschmidt wrote:
> >From: David Gibson
[snip]
> >@@ -3581,6 +3581,59 @@ void cpu_physical_memory_rw(target_phys_addr_t addr,
> >uint8_t *buf,
> > }
> > }
> >
> >+void cpu_physical_memory_z
On 05/09/2012 11:48 PM, Benjamin Herrenschmidt wrote:
From: David Gibson
This patch adds cpu_physical_memory_zero() function. This is equivalent to
calling cpu_physical_memory_write() with a buffer full of zeroes, but
avoids actually allocating such a buffer along the way.
Signed-off-by: David
From: David Gibson
This patch adds cpu_physical_memory_zero() function. This is equivalent to
calling cpu_physical_memory_write() with a buffer full of zeroes, but
avoids actually allocating such a buffer along the way.
Signed-off-by: David Gibson
Signed-off-by: Benjamin Herrenschmidt
---
cp