mirror of
				https://gitlab.com/qemu-project/qemu.git
				synced 2025-10-30 07:57:14 +08:00 
			
		
		
		
	 8be545ba5a
			
		
	
	8be545ba5a
	
	
	
		
			
			Convert the existing includes with sed -i ,exec/memory.h,system/memory.h,g Move the include within cpu-all.h into a !CONFIG_USER_ONLY block. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
		
			
				
	
	
		
			38 lines
		
	
	
		
			556 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			38 lines
		
	
	
		
			556 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #include "qemu/osdep.h"
 | |
| #include "exec/ramlist.h"
 | |
| #include "exec/cpu-common.h"
 | |
| #include "system/memory.h"
 | |
| 
 | |
| void *qemu_ram_get_host_addr(RAMBlock *rb)
 | |
| {
 | |
|     return 0;
 | |
| }
 | |
| 
 | |
| ram_addr_t qemu_ram_get_offset(RAMBlock *rb)
 | |
| {
 | |
|     return 0;
 | |
| }
 | |
| 
 | |
| ram_addr_t qemu_ram_get_used_length(RAMBlock *rb)
 | |
| {
 | |
|     return 0;
 | |
| }
 | |
| 
 | |
| void ram_block_notifier_add(RAMBlockNotifier *n)
 | |
| {
 | |
| }
 | |
| 
 | |
| void ram_block_notifier_remove(RAMBlockNotifier *n)
 | |
| {
 | |
| }
 | |
| 
 | |
| int qemu_ram_foreach_block(RAMBlockIterFunc func, void *opaque)
 | |
| {
 | |
|     return 0;
 | |
| }
 | |
| 
 | |
| int ram_block_discard_disable(bool state)
 | |
| {
 | |
|     return 0;
 | |
| }
 |