|
@@ -3598,11 +3598,11 @@ void *address_space_map(AddressSpace *as,
|
|
}
|
|
}
|
|
|
|
|
|
/* Unmaps a memory region previously mapped by address_space_map().
|
|
/* Unmaps a memory region previously mapped by address_space_map().
|
|
- * Will also mark the memory as dirty if is_write == 1. access_len gives
|
|
|
|
|
|
+ * Will also mark the memory as dirty if is_write is true. access_len gives
|
|
* the amount of memory that was actually read or written by the caller.
|
|
* the amount of memory that was actually read or written by the caller.
|
|
*/
|
|
*/
|
|
void address_space_unmap(AddressSpace *as, void *buffer, hwaddr len,
|
|
void address_space_unmap(AddressSpace *as, void *buffer, hwaddr len,
|
|
- int is_write, hwaddr access_len)
|
|
|
|
|
|
+ bool is_write, hwaddr access_len)
|
|
{
|
|
{
|
|
if (buffer != bounce.buffer) {
|
|
if (buffer != bounce.buffer) {
|
|
MemoryRegion *mr;
|
|
MemoryRegion *mr;
|