/openbmc/qemu/include/hw/riscv/ |
H A D | numa.h | 32 int riscv_socket_count(const MachineState *ms); 41 int riscv_socket_first_hartid(const MachineState *ms, int socket_id); 50 int riscv_socket_last_hartid(const MachineState *ms, int socket_id); 59 int riscv_socket_hart_count(const MachineState *ms, int socket_id); 68 uint64_t riscv_socket_mem_offset(const MachineState *ms, int socket_id); 77 uint64_t riscv_socket_mem_size(const MachineState *ms, int socket_id); 86 bool riscv_socket_check_hartids(const MachineState *ms, int socket_id); 95 void riscv_socket_fdt_write_id(const MachineState *ms, const char *node_name, 105 void riscv_socket_fdt_write_distance_matrix(const MachineState *ms); 108 riscv_numa_cpu_index_to_props(MachineState *ms, unsigned cpu_index); [all …]
|
H A D | boot.h | 36 target_ulong riscv_find_and_load_firmware(MachineState *machine, 46 target_ulong riscv_load_kernel(MachineState *machine, 52 MachineState *ms); 54 void riscv_setup_rom_reset_vec(MachineState *machine, RISCVHartArrayState *harts, 59 void riscv_rom_copy_firmware_info(MachineState *machine, 66 void riscv_setup_firmware_boot(MachineState *machine);
|
/openbmc/qemu/include/hw/ |
H A D | boards.h | 24 OBJECT_DECLARE_TYPE(MachineState, MachineClass, MACHINE) 26 extern MachineState *current_machine; 35 void machine_run_board_init(MachineState *machine, const char *mem_path, Error **errp); 36 bool machine_usb(MachineState *machine); 37 int machine_phandle_start(MachineState *machine); 38 bool machine_dump_guest_core(MachineState *machine); 39 bool machine_mem_merge(MachineState *machine); 40 bool machine_require_guest_memfd(MachineState *machine); 41 HotpluggableCPUList *machine_query_hotpluggable_cpus(MachineState *machine); 42 void machine_set_cpu_numa_node(MachineState *machine, [all …]
|
/openbmc/qemu/hw/core/ |
H A D | machine.c | 288 MachineState *current_machine; 292 MachineState *ms = MACHINE(obj); in machine_get_kernel() 299 MachineState *ms = MACHINE(obj); in machine_set_kernel() 307 MachineState *ms = MACHINE(obj); in machine_get_initrd() 314 MachineState *ms = MACHINE(obj); in machine_set_initrd() 322 MachineState *ms = MACHINE(obj); in machine_get_append() 329 MachineState *ms = MACHINE(obj); in machine_set_append() 337 MachineState *ms = MACHINE(obj); in machine_get_dtb() 344 MachineState *ms = MACHINE(obj); in machine_set_dtb() 352 MachineState *ms = MACHINE(obj); in machine_get_dumpdtb() [all …]
|
H A D | machine-smp.c | 31 static char *cpu_hierarchy_to_string(MachineState *ms) in cpu_hierarchy_to_string() 85 void machine_parse_smp_config(MachineState *ms, in machine_parse_smp_config() 264 static bool machine_check_topo_support(MachineState *ms, in machine_check_topo_support() 285 bool machine_parse_smp_cache(MachineState *ms, in machine_parse_smp_cache() 331 unsigned int machine_topo_get_cores_per_socket(const MachineState *ms) in machine_topo_get_cores_per_socket() 336 unsigned int machine_topo_get_threads_per_socket(const MachineState *ms) in machine_topo_get_threads_per_socket() 341 CpuTopologyLevel machine_get_cache_topo_level(const MachineState *ms, in machine_get_cache_topo_level() 347 void machine_set_cache_topo_level(MachineState *ms, CacheLevelAndType cache, in machine_set_cache_topo_level() 378 bool machine_check_smp_cache(const MachineState *ms, Error **errp) in machine_check_smp_cache()
|
/openbmc/qemu/hw/riscv/ |
H A D | numa.c | 28 static bool numa_enabled(const MachineState *ms) in numa_enabled() 33 int riscv_socket_count(const MachineState *ms) in riscv_socket_count() 38 int riscv_socket_first_hartid(const MachineState *ms, int socket_id) in riscv_socket_first_hartid() 58 int riscv_socket_last_hartid(const MachineState *ms, int socket_id) in riscv_socket_last_hartid() 78 int riscv_socket_hart_count(const MachineState *ms, int socket_id) in riscv_socket_hart_count() 103 bool riscv_socket_check_hartids(const MachineState *ms, int socket_id) in riscv_socket_check_hartids() 130 uint64_t riscv_socket_mem_offset(const MachineState *ms, int socket_id) in riscv_socket_mem_offset() 149 uint64_t riscv_socket_mem_size(const MachineState *ms, int socket_id) in riscv_socket_mem_size() 159 void riscv_socket_fdt_write_id(const MachineState *ms, const char *node_name, in riscv_socket_fdt_write_id() 167 void riscv_socket_fdt_write_distance_matrix(const MachineState *ms) in riscv_socket_fdt_write_distance_matrix() [all …]
|
H A D | boot.c | 129 target_ulong riscv_find_and_load_firmware(MachineState *machine, in riscv_find_and_load_firmware() 178 static void riscv_load_initrd(MachineState *machine, uint64_t kernel_entry) in riscv_load_initrd() 218 target_ulong riscv_load_kernel(MachineState *machine, in riscv_load_kernel() 296 MachineState *ms) in riscv_compute_fdt_addr() 346 void riscv_rom_copy_firmware_info(MachineState *machine, in riscv_rom_copy_firmware_info() 392 void riscv_setup_rom_reset_vec(MachineState *machine, RISCVHartArrayState *harts, in riscv_setup_rom_reset_vec() 460 void riscv_setup_firmware_boot(MachineState *machine) in riscv_setup_firmware_boot()
|
/openbmc/qemu/hw/s390x/ |
H A D | s390-virtio-ccw.c | 74 static void s390_init_cpus(MachineState *machine) in s390_init_cpus() 161 MachineState *ms = MACHINE(qdev_get_machine()); in virtio_ccw_hcall_early_printk() 256 static void ccw_init(MachineState *machine) in ccw_init() 328 MachineState *ms = MACHINE(hotplug_dev); in s390_cpu_plug() 448 static void s390_machine_reset(MachineState *machine, ResetType type) in s390_machine_reset() 566 static CpuInstanceProperties s390_cpu_index_to_props(MachineState *ms, in s390_cpu_index_to_props() 576 static const CPUArchIdList *s390_possible_cpu_arch_ids(MachineState *ms) in s390_possible_cpu_arch_ids() 609 static HotplugHandler *s390_get_hotplug_handler(MachineState *machine, in s390_get_hotplug_handler() 838 MachineState *machine = MACHINE(obj); \ 863 static void ccw_machine_9_2_instance_options(MachineState *machine) in ccw_machine_9_2_instance_options() [all …]
|
/openbmc/qemu/include/qemu/ |
H A D | accel.h | 40 int (*init_machine)(MachineState *ms); 42 void (*setup_post)(MachineState *ms, AccelState *accel); 43 bool (*has_memory)(MachineState *ms, AddressSpace *as, 82 int accel_init_machine(AccelState *accel, MachineState *ms); 85 void accel_setup_post(MachineState *ms);
|
/openbmc/qemu/hw/virtio/ |
H A D | virtio-md-stubs.c | 5 void virtio_md_pci_pre_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_pre_plug() 10 void virtio_md_pci_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_plug() 15 void virtio_md_pci_unplug_request(VirtIOMDPCI *vmd, MachineState *ms, in virtio_md_pci_unplug_request() 21 void virtio_md_pci_unplug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_unplug()
|
H A D | virtio-md-pci.c | 19 void virtio_md_pci_pre_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_pre_plug() 47 void virtio_md_pci_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_plug() 69 void virtio_md_pci_unplug_request(VirtIOMDPCI *vmd, MachineState *ms, in virtio_md_pci_unplug_request() 110 void virtio_md_pci_unplug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp) in virtio_md_pci_unplug()
|
/openbmc/qemu/include/hw/virtio/ |
H A D | virtio-md-pci.h | 38 void virtio_md_pci_pre_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp); 39 void virtio_md_pci_plug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp); 40 void virtio_md_pci_unplug_request(VirtIOMDPCI *vmd, MachineState *ms, 42 void virtio_md_pci_unplug(VirtIOMDPCI *vmd, MachineState *ms, Error **errp);
|
/openbmc/qemu/include/sysemu/ |
H A D | numa.h | 101 void set_numa_options(MachineState *ms, NumaOptions *object, Error **errp); 102 void parse_numa_opts(MachineState *ms); 105 void parse_numa_hmat_cache(MachineState *ms, NumaHmatCacheOptions *node, 107 void numa_complete_configuration(MachineState *ms); 108 void query_numa_node_mem(NumaNodeMem node_mem[], MachineState *ms);
|
/openbmc/qemu/include/hw/ppc/ |
H A D | vof.h | 24 int vof_client_call(MachineState *ms, Vof *vof, void *fdt, 40 target_ulong (*client_architecture_support)(MachineState *ms, CPUState *cs, 42 void (*quiesce)(MachineState *ms); 43 bool (*setprop)(MachineState *ms, const char *path, const char *propname,
|
H A D | spapr_numa.h | 26 MachineState *machine); 35 unsigned int spapr_numa_initial_nvgpu_numa_id(MachineState *machine);
|
/openbmc/qemu/hw/ppc/ |
H A D | spapr_numa.c | 72 static int get_numa_distance(MachineState *ms, int src, int dst) in get_numa_distance() 94 static bool spapr_numa_is_symmetrical(MachineState *ms) in spapr_numa_is_symmetrical() 145 MachineState *ms = MACHINE(spapr); in spapr_numa_define_FORM1_domains() 216 static void spapr_numa_FORM1_affinity_check(MachineState *machine) in spapr_numa_FORM1_affinity_check() 262 MachineState *machine) in spapr_numa_FORM1_affinity_init() 332 MachineState *machine) in spapr_numa_associativity_init() 401 MachineState *machine = MACHINE(spapr); in spapr_numa_write_assoc_lookup_arrays() 434 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM1_write_rtas_dt() 491 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM2_write_rtas_tables() 552 MachineState *ms = MACHINE(spapr); in spapr_numa_FORM2_write_rtas_dt()
|
H A D | e500.h | 10 MachineState parent_obj; 42 void ppce500_init(MachineState *machine);
|
/openbmc/qemu/include/hw/mem/ |
H A D | pc-dimm.h | 69 void pc_dimm_pre_plug(PCDIMMDevice *dimm, MachineState *machine, Error **errp); 70 void pc_dimm_plug(PCDIMMDevice *dimm, MachineState *machine); 71 void pc_dimm_unplug(PCDIMMDevice *dimm, MachineState *machine);
|
H A D | memory-device.h | 171 void memory_device_pre_plug(MemoryDeviceState *md, MachineState *ms, 173 void memory_device_plug(MemoryDeviceState *md, MachineState *ms); 174 void memory_device_unplug(MemoryDeviceState *md, MachineState *ms);
|
/openbmc/qemu/hw/loongarch/ |
H A D | virt.c | 141 MachineState *ms = MACHINE(lvms); in fdt_add_cpuic_node() 159 MachineState *ms = MACHINE(lvms); in fdt_add_eiointc_node() 184 MachineState *ms = MACHINE(lvms); in fdt_add_pch_pic_node() 209 MachineState *ms = MACHINE(lvms); in fdt_add_pch_msi_node() 235 MachineState *ms = MACHINE(lvms); in fdt_add_flash_node() 269 MachineState *ms = MACHINE(lvms); in fdt_add_rtc_node() 287 MachineState *ms = MACHINE(lvms); in fdt_add_ged_reset() 327 MachineState *ms = MACHINE(lvms); in fdt_add_uart_node() 344 MachineState *ms = MACHINE(lvms); in create_fdt() 368 const MachineState *ms = MACHINE(lvms); in fdt_add_cpu_nodes() [all …]
|
/openbmc/qemu/hw/xtensa/ |
H A D | xtensa_sim.h | 31 XtensaCPU *xtensa_sim_common_init(MachineState *machine); 32 void xtensa_sim_load_kernel(XtensaCPU *cpu, MachineState *machine);
|
H A D | sim.c | 54 XtensaCPU *xtensa_sim_common_init(MachineState *machine) in xtensa_sim_common_init() 96 void xtensa_sim_load_kernel(XtensaCPU *cpu, MachineState *machine) in xtensa_sim_load_kernel() 112 static void xtensa_sim_init(MachineState *machine) in xtensa_sim_init()
|
/openbmc/qemu/hw/mem/ |
H A D | memory-device.c | 85 static unsigned int get_reserved_memslots(MachineState *ms) in get_reserved_memslots() 113 static unsigned int memory_device_memslot_decision_limit(MachineState *ms, in memory_device_memslot_decision_limit() 173 static void memory_device_check_addable(MachineState *ms, MemoryDeviceState *md, in memory_device_check_addable() 214 static uint64_t memory_device_get_free_addr(MachineState *ms, in memory_device_get_free_addr() 347 void memory_device_pre_plug(MemoryDeviceState *md, MachineState *ms, in memory_device_pre_plug() 410 void memory_device_plug(MemoryDeviceState *md, MachineState *ms) in memory_device_plug() 442 void memory_device_unplug(MemoryDeviceState *md, MachineState *ms) in memory_device_unplug() 529 void machine_memory_devices_init(MachineState *ms, hwaddr base, uint64_t size) in machine_memory_devices_init()
|
/openbmc/qemu/hw/i386/ |
H A D | fw_cfg.h | 23 FWCfgState *fw_cfg_arch_create(MachineState *ms, 28 void fw_cfg_build_feature_control(MachineState *ms, FWCfgState *fw_cfg);
|
/openbmc/qemu/include/hw/arm/ |
H A D | raspi_platform.h | 43 MachineState parent_obj; 57 void raspi_machine_init(MachineState *machine); 60 void raspi_base_machine_init(MachineState *machine,
|