2017-04-24 21:50:19 +03:00
|
|
|
/*
|
|
|
|
* Target page sizes and friends for non target files
|
|
|
|
*
|
|
|
|
* Copyright (c) 2017 Red Hat Inc
|
|
|
|
*
|
|
|
|
* Authors:
|
|
|
|
* David Alan Gilbert <dgilbert@redhat.com>
|
|
|
|
* Juan Quintela <quintela@redhat.com>
|
|
|
|
*
|
|
|
|
* This work is licensed under the terms of the GNU GPL, version 2 or later.
|
|
|
|
* See the COPYING file in the top-level directory.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef EXEC_TARGET_PAGE_H
|
|
|
|
#define EXEC_TARGET_PAGE_H
|
|
|
|
|
|
|
|
size_t qemu_target_page_size(void);
|
2023-05-24 12:37:35 +03:00
|
|
|
int qemu_target_page_mask(void);
|
2017-04-24 22:03:48 +03:00
|
|
|
int qemu_target_page_bits(void);
|
|
|
|
int qemu_target_page_bits_min(void);
|
2017-04-24 21:50:19 +03:00
|
|
|
|
2023-05-11 17:12:04 +03:00
|
|
|
size_t qemu_target_pages_to_MiB(size_t pages);
|
2017-04-24 21:50:19 +03:00
|
|
|
#endif
|