xref: /openbmc/qemu/include/exec/target_page.h (revision 70f168f8)
1 /*
2  * Target page sizes and friends for non target files
3  *
4  * Copyright (c) 2017 Red Hat Inc
5  *
6  * Authors:
7  *  David Alan Gilbert <dgilbert@redhat.com>
8  *  Juan Quintela <quintela@redhat.com>
9  *
10  * This work is licensed under the terms of the GNU GPL, version 2 or later.
11  * See the COPYING file in the top-level directory.
12  */
13 
14 #ifndef EXEC_TARGET_PAGE_H
15 #define EXEC_TARGET_PAGE_H
16 
17 size_t qemu_target_page_size(void);
18 int qemu_target_page_bits(void);
19 int qemu_target_page_bits_min(void);
20 
21 size_t qemu_target_pages_to_MiB(size_t pages);
22 #endif
23