]>
Commit | Line | Data |
---|---|---|
51180423 JQ |
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); | |
b3b408ff | 18 | int qemu_target_page_mask(void); |
46d702b1 JQ |
19 | int qemu_target_page_bits(void); |
20 | int qemu_target_page_bits_min(void); | |
51180423 | 21 | |
62c5e181 | 22 | size_t qemu_target_pages_to_MiB(size_t pages); |
51180423 | 23 | #endif |