 d804ad98f5
			
		
	
	
		d804ad98f5
		
	
	
	
	
		
			
			Rename LoongArchMachineState with LoongArchVirtMachineState, and change variable name LoongArchMachineState *lams with LoongArchVirtMachineState *lvms. Rename function specific for virtmachine loongarch_xxx() with virt_xxx(). However some common functions keep unchanged such as loongarch_acpi_setup()/loongarch_load_kernel(), since there functions can be used for real hw boards. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20240508031110.2507477-3-maobibo@loongson.cn> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
		
			
				
	
	
		
			16 lines
		
	
	
		
			355 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			355 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /* SPDX-License-Identifier: GPL-2.0-or-later */
 | |
| /*
 | |
|  * QEMU fw_cfg helpers (LoongArch specific)
 | |
|  *
 | |
|  * Copyright (C) 2021 Loongson Technology Corporation Limited
 | |
|  */
 | |
| 
 | |
| #ifndef HW_LOONGARCH_FW_CFG_H
 | |
| #define HW_LOONGARCH_FW_CFG_H
 | |
| 
 | |
| #include "hw/boards.h"
 | |
| #include "hw/nvram/fw_cfg.h"
 | |
| 
 | |
| FWCfgState *virt_fw_cfg_init(ram_addr_t ram_size, MachineState *ms);
 | |
| #endif
 |