Message ID | 33183CC9F5247A488A2544077AF19020815C19BA@SZXEMA503-MBS.china.huawei.com |
---|---|
State | New |
Headers | show |
diff --git a/include/exec/ram_addr.h b/include/exec/ram_addr.h index 2edfa96..d031168 100644 --- a/include/exec/ram_addr.h +++ b/include/exec/ram_addr.h @@ -21,11 +21,11 @@ #ifndef CONFIG_USER_ONLY #include "hw/xen/xen.h" +#include "qemu/bitmap.h" ram_addr_t qemu_ram_alloc_from_ptr(ram_addr_t size, void *host, MemoryRegion *mr); ram_addr_t qemu_ram_alloc(ram_addr_t size, MemoryRegion *mr); -void *qemu_get_ram_ptr(ram_addr_t addr); void qemu_ram_free(ram_addr_t addr); void qemu_ram_free_from_ptr(ram_addr_t addr);