@@ -130,8 +130,6 @@ int vm_arch_init_platform_device(vm_t *v)
130130 vm_arch_priv_t * priv = (vm_arch_priv_t * ) v -> priv ;
131131
132132 /* Initial system bus */
133- bus_init (& v -> io_bus );
134- bus_init (& v -> mmio_bus );
135133 dev_init (& priv -> iodev , ARM_IOPORT_BASE , ARM_IOPORT_SIZE , v , pio_handler );
136134 bus_register_dev (& v -> mmio_bus , & priv -> iodev );
137135
@@ -151,7 +149,7 @@ int vm_arch_init_platform_device(vm_t *v)
151149}
152150
153151/* The arm64 kernel header
154- * Reference https://docs.kernel.org/arm64/booting.html
152+ * Reference https://docs.kernel.org/arch/ arm64/booting.html
155153 */
156154typedef struct {
157155 uint32_t code0 ; /* Executable code */
@@ -358,7 +356,7 @@ static int generate_fdt(vm_t *v)
358356 __FDT (property , "dma-coherent" , NULL , 0 );
359357 uint32_t pci_bus_range [] = {cpu_to_fdt32 (0 ), cpu_to_fdt32 (0 )};
360358 __FDT (property , "bus-range" , & pci_bus_range , sizeof (pci_bus_range ));
361- /* reg should contains the address of configuration space */
359+ /* reg should contain the address of configuration space */
362360 uint64_t pci_reg [] = {cpu_to_fdt64 (ARM_PCI_CFG_BASE ),
363361 cpu_to_fdt64 (ARM_PCI_CFG_SIZE )};
364362 __FDT (property , "reg" , & pci_reg , sizeof (pci_reg ));
0 commit comments