Home
last modified time | relevance | path

Searched refs:MachineState (Results 1 – 25 of 277) sorted by relevance

12345678910>>...12

/openbmc/qemu/include/hw/riscv/
H A Dnuma.h32 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 Dboot.h48 target_ulong riscv_find_and_load_firmware(MachineState *machine,
58 void riscv_load_kernel(MachineState *machine,
64 MachineState *ms, RISCVBootInfo *info);
66 void riscv_setup_rom_reset_vec(MachineState *machine, RISCVHartArrayState *harts,
71 void riscv_rom_copy_firmware_info(MachineState *machine,
78 void riscv_setup_firmware_boot(MachineState *machine);
/openbmc/qemu/include/hw/
H A Dboards.h24 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 Dmachine.c291 MachineState *current_machine;
295 MachineState *ms = MACHINE(obj); in machine_get_kernel()
302 MachineState *ms = MACHINE(obj); in machine_set_kernel()
310 MachineState *ms = MACHINE(obj); in machine_get_shim()
317 MachineState *ms = MACHINE(obj); in machine_set_shim()
325 MachineState *ms = MACHINE(obj); in machine_get_initrd()
332 MachineState *ms = MACHINE(obj); in machine_set_initrd()
340 MachineState *ms = MACHINE(obj); in machine_get_append()
347 MachineState *ms = MACHINE(obj); in machine_set_append()
355 MachineState *ms = MACHINE(obj); in machine_get_dtb()
[all …]
H A Dmachine-smp.c31 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()
340 unsigned int machine_topo_get_cores_per_socket(const MachineState *ms) in machine_topo_get_cores_per_socket()
345 unsigned int machine_topo_get_threads_per_socket(const MachineState *ms) in machine_topo_get_threads_per_socket()
350 CpuTopologyLevel machine_get_cache_topo_level(const MachineState *ms, in machine_get_cache_topo_level()
356 void machine_set_cache_topo_level(MachineState *ms, CacheLevelAndType cache, in machine_set_cache_topo_level()
387 bool machine_check_smp_cache(const MachineState *ms, Error **errp) in machine_check_smp_cache()
/openbmc/qemu/hw/riscv/
H A Dnuma.c28 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 …]
/openbmc/qemu/hw/virtio/
H A Dvirtio-md-stubs.c5 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 Dvirtio-md-pci.c19 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/hw/s390x/
H A Dvirtio-ccw-md-stubs.c5 void virtio_ccw_md_pre_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_pre_plug()
10 void virtio_ccw_md_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_plug()
15 void virtio_ccw_md_unplug_request(VirtIOMDCcw *vmd, MachineState *ms, in virtio_ccw_md_unplug_request()
21 void virtio_ccw_md_unplug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_unplug()
H A Dvirtio-ccw-md.h38 void virtio_ccw_md_pre_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp);
39 void virtio_ccw_md_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp);
40 void virtio_ccw_md_unplug_request(VirtIOMDCcw *vmd, MachineState *ms,
42 void virtio_ccw_md_unplug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp);
H A Ds390-virtio-ccw.c76 static void s390_init_cpus(MachineState *machine) in s390_init_cpus()
160 static void s390_memory_init(MachineState *machine) in s390_memory_init()
274 static void ccw_init(MachineState *machine) in ccw_init()
350 MachineState *ms = MACHINE(hotplug_dev); in s390_cpu_plug()
471 static void s390_machine_reset(MachineState *machine, ResetType type) in s390_machine_reset()
658 static CpuInstanceProperties s390_cpu_index_to_props(MachineState *ms, in s390_cpu_index_to_props()
668 static const CPUArchIdList *s390_possible_cpu_arch_ids(MachineState *ms) in s390_possible_cpu_arch_ids()
701 static HotplugHandler *s390_get_hotplug_handler(MachineState *machine, in s390_get_hotplug_handler()
875 static void MACHINE_VER_SYM(mach_init, ccw, __VA_ARGS__)(MachineState *mach) \
914 static void ccw_machine_10_1_instance_options(MachineState *machine) in ccw_machine_10_1_instance_options()
[all …]
H A Dvirtio-ccw-md.c19 void virtio_ccw_md_pre_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_pre_plug()
48 void virtio_ccw_md_plug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_plug()
70 void virtio_ccw_md_unplug_request(VirtIOMDCcw *vmd, MachineState *ms, in virtio_ccw_md_unplug_request()
112 void virtio_ccw_md_unplug(VirtIOMDCcw *vmd, MachineState *ms, Error **errp) in virtio_ccw_md_unplug()
/openbmc/qemu/include/hw/virtio/
H A Dvirtio-md-pci.h38 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/system/
H A Dnuma.h100 void set_numa_options(MachineState *ms, NumaOptions *object, Error **errp);
101 void parse_numa_opts(MachineState *ms);
104 void parse_numa_hmat_cache(MachineState *ms, NumaHmatCacheOptions *node,
106 void numa_complete_configuration(MachineState *ms);
107 void query_numa_node_mem(NumaNodeMem node_mem[], MachineState *ms);
/openbmc/qemu/include/hw/ppc/
H A Dvof.h24 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 Dspapr_numa.h26 MachineState *machine);
35 unsigned int spapr_numa_initial_nvgpu_numa_id(MachineState *machine);
/openbmc/qemu/include/hw/mem/
H A Dpc-dimm.h69 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 Dmemory-device.h171 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/include/qemu/
H A Daccel.h50 int accel_init_machine(AccelState *accel, MachineState *ms);
53 void accel_setup_post(MachineState *ms);
55 void accel_pre_resume(MachineState *ms, bool step_pending);
/openbmc/qemu/hw/loongarch/
H A Dvirt-fdt-build.c22 MachineState *ms = MACHINE(lvms); in create_fdt()
46 MachineState *ms = MACHINE(lvms); in fdt_add_cpu_nodes()
111 static void fdt_add_memory_node(MachineState *ms, in fdt_add_memory_node()
128 static void fdt_add_memory_nodes(MachineState *ms) in fdt_add_memory_nodes()
174 const MachineState *ms = MACHINE(lvms); in fdt_add_fw_cfg_node()
188 MachineState *ms = MACHINE(lvms); in fdt_add_flash_node()
219 MachineState *ms = MACHINE(lvms); in fdt_add_cpuic_node()
237 MachineState *ms = MACHINE(lvms); in fdt_add_eiointc_node()
262 MachineState *ms = MACHINE(lvms); in fdt_add_pch_pic_node()
287 MachineState *ms = MACHINE(lvms); in fdt_add_pch_msi_node()
[all …]
/openbmc/qemu/hw/xtensa/
H A Dxtensa_sim.h31 XtensaCPU *xtensa_sim_common_init(MachineState *machine);
32 void xtensa_sim_load_kernel(XtensaCPU *cpu, MachineState *machine);
/openbmc/qemu/hw/ppc/
H A Dspapr_numa.c72 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()
/openbmc/qemu/accel/
H A Daccel-system.c38 int accel_init_machine(AccelState *accel, MachineState *ms) in accel_init_machine()
60 void accel_setup_post(MachineState *ms) in accel_setup_post()
69 void accel_pre_resume(MachineState *ms, bool step_pending) in accel_pre_resume()
/openbmc/qemu/hw/i386/
H A Dfw_cfg.h23 FWCfgState *fw_cfg_arch_create(MachineState *ms,
28 void fw_cfg_build_feature_control(MachineState *ms, FWCfgState *fw_cfg);
/openbmc/qemu/include/hw/i386/
H A Dnitro_enclave.h28 void (*parent_init)(MachineState *state);
29 void (*parent_reset)(MachineState *machine, ResetType type);

12345678910>>...12