Lines Matching refs:machine
81 static void rx_gdbsim_init(MachineState *machine) in rx_gdbsim_init() argument
83 MachineClass *mc = MACHINE_GET_CLASS(machine); in rx_gdbsim_init()
84 RxGdbSimMachineState *s = RX_GDBSIM_MACHINE(machine); in rx_gdbsim_init()
85 RxGdbSimMachineClass *rxc = RX_GDBSIM_MACHINE_GET_CLASS(machine); in rx_gdbsim_init()
87 const char *kernel_filename = machine->kernel_filename; in rx_gdbsim_init()
88 const char *dtb_filename = machine->dtb; in rx_gdbsim_init()
91 if (machine->ram_size < mc->default_ram_size) { in rx_gdbsim_init()
99 memory_region_add_subregion(sysmem, SDRAM_BASE, machine->ram); in rx_gdbsim_init()
102 object_initialize_child(OBJECT(machine), "mcu", &s->mcu, rxc->mcu_name); in rx_gdbsim_init()
111 if (machine->firmware) { in rx_gdbsim_init()
112 rom_add_file_fixed(machine->firmware, RX62N_CFLASH_BASE, 0); in rx_gdbsim_init()
129 kernel_offset = machine->ram_size / 2; in rx_gdbsim_init()
141 if (machine->kernel_cmdline && in rx_gdbsim_init()
143 machine->kernel_cmdline) < 0) { in rx_gdbsim_init()
150 dtb_offset = ROUND_DOWN(machine->ram_size - dtb_size, 16); in rx_gdbsim_init()