]> Git Repo - qemu.git/blobdiff - memory.c
sdl2: rename sdl2_state to sdl2_console, move to header file
[qemu.git] / memory.c
index 0f4fdc7db7dd978475494ff183267c1ad28f6326..15cf9ebd8423b0b04862df77772f147b085d54fd 100644 (file)
--- a/memory.c
+++ b/memory.c
@@ -1749,6 +1749,11 @@ ram_addr_t memory_region_get_ram_addr(MemoryRegion *mr)
     return mr->ram_addr;
 }
 
+uint64_t memory_region_get_alignment(const MemoryRegion *mr)
+{
+    return mr->align;
+}
+
 static int cmp_flatrange_addr(const void *addr_, const void *fr_)
 {
     const AddrRange *addr = addr_;
This page took 0.023811 seconds and 4 git commands to generate.