Home
last modified time | relevance | path

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

12345

/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 …]
/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 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/xtensa/
H A Dxtensa_sim.h31 XtensaCPU *xtensa_sim_common_init(MachineState *machine);
32 void xtensa_sim_load_kernel(XtensaCPU *cpu, MachineState *machine);
H A Dsim.c54 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()
113 static void xtensa_sim_init(MachineState *machine) in xtensa_sim_init()
/openbmc/qemu/hw/core/
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/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()
H A De500.h12 MachineState parent_obj;
46 void ppce500_init(MachineState *machine);
/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);
/openbmc/qemu/include/hw/xen/
H A Dxen-pvh-common.h26 void (*init)(MachineState *state);
60 MachineState parent;
/openbmc/qemu/include/hw/arm/
H A Draspi_platform.h43 MachineState parent_obj;
57 void raspi_machine_init(MachineState *machine);
60 void raspi_base_machine_init(MachineState *machine,
/openbmc/qemu/hw/mem/
H A Dmemory-device.c85 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()

12345