mirror of
				https://github.com/qemu/qemu.git
				synced 2025-10-31 12:07:31 +00:00 
			
		
		
		
	 e33cb789af
			
		
	
	
		e33cb789af
		
	
	
	
	
		
			
			Signed-off-by: David Woodhouse <dwmw@amazon.co.uk> Reviewed-by: Paul Durrant <paul@xen.org>
		
			
				
	
	
		
			27 lines
		
	
	
		
			697 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			27 lines
		
	
	
		
			697 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * QEMU Xen emulation: Shared/overlay pages support
 | |
|  *
 | |
|  * Copyright © 2022 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 | |
|  *
 | |
|  * Authors: David Woodhouse <dwmw2@infradead.org>
 | |
|  *
 | |
|  * 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 QEMU_XEN_OVERLAY_H
 | |
| #define QEMU_XEN_OVERLAY_H
 | |
| 
 | |
| void xen_overlay_create(void);
 | |
| 
 | |
| int xen_overlay_map_shinfo_page(uint64_t gpa);
 | |
| void *xen_overlay_get_shinfo_ptr(void);
 | |
| 
 | |
| int xen_sync_long_mode(void);
 | |
| int xen_set_long_mode(bool long_mode);
 | |
| bool xen_is_long_mode(void);
 | |
| 
 | |
| void xen_overlay_do_map_page(MemoryRegion *page, uint64_t gpa);
 | |
| 
 | |
| #endif /* QEMU_XEN_OVERLAY_H */
 |