X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=bsd-user%2Fqemu.h;fp=bsd-user%2Fqemu.h;h=c05c5127676df0f170fd76b88d040d6b0174ee88;hb=8c45039f9ecab8bc5b123e39bb0433763524e39d;hp=dc842fffa7d3ec04ae40cbc092bf13ce7dddeee6;hpb=01e449809b0289a5535e935615e5e7f0a695f227;p=mirror_qemu.git diff --git a/bsd-user/qemu.h b/bsd-user/qemu.h index dc842fffa7..c05c512767 100644 --- a/bsd-user/qemu.h +++ b/bsd-user/qemu.h @@ -39,6 +39,13 @@ extern char **environ; #include "qemu/clang-tsa.h" #include "qemu-os.h" +/* + * TODO: Remove these and rely only on qemu_real_host_page_size(). + */ +extern uintptr_t qemu_host_page_size; +extern intptr_t qemu_host_page_mask; +#define HOST_PAGE_ALIGN(addr) ROUND_UP((addr), qemu_host_page_size) + /* * This struct is used to hold certain information about the image. Basically, * it replicates in user space what would be certain task_struct fields in the