Skip to content

Commit

Permalink
xemu-xbe.c: Add memtxattrs
Browse files Browse the repository at this point in the history
  • Loading branch information
mborgerson committed Jan 23, 2023
1 parent 2e201db commit 4dd5e12
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion xemu-xbe.c
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ static ssize_t virt_dma_memory_read(vaddr vaddr, void *buf, size_t len)
dma_memory_read(&address_space_memory,
phys_addr,
buf + num_bytes_read,
num_bytes_to_read);
num_bytes_to_read,
MEMTXATTRS_UNSPECIFIED);

num_bytes_read += num_bytes_to_read;
}
Expand Down

0 comments on commit 4dd5e12

Please sign in to comment.