machine.c (36f9bbdb1717eeb9b10cbfa3135c942c43d13d25) | machine.c (0d068996310c33c2f40dd347746304054fdfa16d) |
---|---|
1/* 2 * QEMU HPPA hardware system emulator. 3 * Copyright 2018 Helge Deller <deller@gmx.de> 4 */ 5 6#include "qemu/osdep.h" 7#include "qemu/datadir.h" 8#include "cpu.h" --- 108 unchanged lines hidden (view full) --- 117 g_memdup(&val, sizeof(val)), sizeof(val)); 118 119 fw_cfg_add_i16(fw_cfg, FW_CFG_BOOT_DEVICE, ms->boot_order[0]); 120 qemu_register_boot_set(fw_cfg_boot_set, fw_cfg); 121 122 return fw_cfg; 123} 124 | 1/* 2 * QEMU HPPA hardware system emulator. 3 * Copyright 2018 Helge Deller <deller@gmx.de> 4 */ 5 6#include "qemu/osdep.h" 7#include "qemu/datadir.h" 8#include "cpu.h" --- 108 unchanged lines hidden (view full) --- 117 g_memdup(&val, sizeof(val)), sizeof(val)); 118 119 fw_cfg_add_i16(fw_cfg, FW_CFG_BOOT_DEVICE, ms->boot_order[0]); 120 qemu_register_boot_set(fw_cfg_boot_set, fw_cfg); 121 122 return fw_cfg; 123} 124 |
125static DinoState *dino_init(MemoryRegion *addr_space) 126{ 127 DeviceState *dev; 128 129 dev = qdev_new(TYPE_DINO_PCI_HOST_BRIDGE); 130 object_property_set_link(OBJECT(dev), "memory-as", OBJECT(addr_space), 131 &error_fatal); 132 sysbus_realize_and_unref(SYS_BUS_DEVICE(dev), &error_fatal); 133 134 return DINO_PCI_HOST_BRIDGE(dev); 135} 136 |
|
125static void machine_hppa_init(MachineState *machine) 126{ 127 const char *kernel_filename = machine->kernel_filename; 128 const char *kernel_cmdline = machine->kernel_cmdline; 129 const char *initrd_filename = machine->initrd_filename; 130 DeviceState *dev, *dino_dev; 131 PCIBus *pci_bus; 132 ISABus *isa_bus; --- 279 unchanged lines hidden --- | 137static void machine_hppa_init(MachineState *machine) 138{ 139 const char *kernel_filename = machine->kernel_filename; 140 const char *kernel_cmdline = machine->kernel_cmdline; 141 const char *initrd_filename = machine->initrd_filename; 142 DeviceState *dev, *dino_dev; 143 PCIBus *pci_bus; 144 ISABus *isa_bus; --- 279 unchanged lines hidden --- |