| 
									
										
										
										
											2017-04-24 20:50:19 +02: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 11:37:35 +02:00
										 |  |  | int qemu_target_page_mask(void); | 
					
						
							| 
									
										
										
										
											2017-04-24 21:03:48 +02:00
										 |  |  | int qemu_target_page_bits(void); | 
					
						
							|  |  |  | int qemu_target_page_bits_min(void); | 
					
						
							| 
									
										
										
										
											2017-04-24 20:50:19 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-05-11 16:12:04 +02:00
										 |  |  | size_t qemu_target_pages_to_MiB(size_t pages); | 
					
						
							| 
									
										
										
										
											2017-04-24 20:50:19 +02:00
										 |  |  | #endif
 |