virt.c (a326a2b0b2afae9285126cb1c56e71926d3702c7) | virt.c (e57039ddab55bb0f711b3bf46d39f887663243a0) |
---|---|
1/* 2 * QEMU RISC-V VirtIO Board 3 * 4 * Copyright (c) 2017 SiFive, Inc. 5 * 6 * RISC-V machine with 16550a UART and VirtIO MMIO 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 254 unchanged lines hidden (view full) --- 263 qemu_fdt_setprop_string(ms->fdt, cpu_name, "riscv,isa", name); 264 g_free(name); 265 266 if (cpu_ptr->cfg.ext_zicbom) { 267 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cbom-block-size", 268 cpu_ptr->cfg.cbom_blocksize); 269 } 270 | 1/* 2 * QEMU RISC-V VirtIO Board 3 * 4 * Copyright (c) 2017 SiFive, Inc. 5 * 6 * RISC-V machine with 16550a UART and VirtIO MMIO 7 * 8 * This program is free software; you can redistribute it and/or modify it --- 254 unchanged lines hidden (view full) --- 263 qemu_fdt_setprop_string(ms->fdt, cpu_name, "riscv,isa", name); 264 g_free(name); 265 266 if (cpu_ptr->cfg.ext_zicbom) { 267 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cbom-block-size", 268 cpu_ptr->cfg.cbom_blocksize); 269 } 270 |
271 if (cpu_ptr->cfg.ext_icboz) { | 271 if (cpu_ptr->cfg.ext_zicboz) { |
272 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cboz-block-size", 273 cpu_ptr->cfg.cboz_blocksize); 274 } 275 276 qemu_fdt_setprop_string(ms->fdt, cpu_name, "compatible", "riscv"); 277 qemu_fdt_setprop_string(ms->fdt, cpu_name, "status", "okay"); 278 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "reg", 279 s->soc[socket].hartid_base + cpu); --- 1473 unchanged lines hidden --- | 272 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "riscv,cboz-block-size", 273 cpu_ptr->cfg.cboz_blocksize); 274 } 275 276 qemu_fdt_setprop_string(ms->fdt, cpu_name, "compatible", "riscv"); 277 qemu_fdt_setprop_string(ms->fdt, cpu_name, "status", "okay"); 278 qemu_fdt_setprop_cell(ms->fdt, cpu_name, "reg", 279 s->soc[socket].hartid_base + cpu); --- 1473 unchanged lines hidden --- |