memory.h: fix typos in comments

Backports commit 847b31f0d608bfcbc9ea11d5013ae62e956f32cd from qemu
This commit is contained in:
Li Qiang 2018-11-11 07:31:28 -05:00 committed by Lioncash
parent 9137e4c201
commit b79f16c331
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7

View File

@ -577,7 +577,7 @@ uint64_t memory_region_size(MemoryRegion *mr);
/**
* memory_region_is_ram: check whether a memory region is random access
*
* Returns %true is a memory region is random access.
* Returns %true if a memory region is random access.
*
* @mr: the memory region being queried
*/
@ -589,7 +589,7 @@ static inline bool memory_region_is_ram(MemoryRegion *mr)
/**
* memory_region_is_ram_device: check whether a memory region is a ram device
*
* Returns %true is a memory region is a device backed ram region
* Returns %true if a memory region is a device backed ram region
*
* @mr: the memory region being queried
*/
@ -667,7 +667,7 @@ uint8_t memory_region_get_dirty_log_mask(MemoryRegion *mr);
/**
* memory_region_is_rom: check whether a memory region is ROM
*
* Returns %true is a memory region is read-only memory.
* Returns %true if a memory region is read-only memory.
*
* @mr: the memory region being queried
*/