mirror of
https://github.com/mii443/qemu.git
synced 2025-08-30 10:59:53 +00:00
softmmu: Create qemu_target_pages_to_MiB()
Function that convert a number of target_pages into its size in MiB. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Juan Quintela <quintela@redhat.com> Message-Id: <20230511141208.17779-2-quintela@redhat.com>
This commit is contained in:
@ -18,4 +18,5 @@ size_t qemu_target_page_size(void);
|
||||
int qemu_target_page_bits(void);
|
||||
int qemu_target_page_bits_min(void);
|
||||
|
||||
size_t qemu_target_pages_to_MiB(size_t pages);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user