xref: /openbmc/qemu/include/exec/target_page.h (revision 53c7c924)
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_mask(void);
19 int qemu_target_page_bits(void);
20 int qemu_target_page_bits_min(void);
21 
22 size_t qemu_target_pages_to_MiB(size_t pages);
23 #endif
24