Home
last modified time | relevance | path

Searched full:chosen (Results 1 – 25 of 107) sorted by relevance

12345

/qemu/docs/system/arm/
H A Dxlnx-versal-virt.rst145 …fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/uart@ff000000 dom0_mem=640M bootscrub=0 m…
146 fdt set /chosen xen,dom0-bootargs "rdinit=/sbin/init clk_ignore_unused console=hvc0 maxcpus=1"
147 fdt mknode /chosen dom0
148 fdt set /chosen/dom0 compatible "xen,multiboot-module"
149 fdt set /chosen/dom0 reg <0x00000000 0x40000000 0x0 0x03100000>
174 …fdt set /chosen xen,xen-bootargs "console=dtuart dtuart=/uart@ff000000 dom0_mem=640M bootscrub=0 m…
175 fdt set /chosen xen,dom0-bootargs "rdinit=/sbin/init clk_ignore_unused console=hvc0 maxcpus=1"
176 fdt mknode /chosen dom0
177 fdt set /chosen/dom0 compatible "xen,multiboot-module"
178 fdt set /chosen/dom0 reg <0x00000000 0x40000000 0x0 0x03100000>
/qemu/hw/ppc/
H A Dspapr_vof.c36 int chosen; in spapr_vof_client_dt_finalize() local
38 _FDT(chosen = fdt_path_offset(fdt, "/chosen")); in spapr_vof_client_dt_finalize()
43 _FDT(fdt_setprop_string(fdt, chosen, "bootargs", spapr->vof->bootargs)); in spapr_vof_client_dt_finalize()
52 _FDT(vof_client_open_store(fdt, spapr->vof, "/chosen", "stdout", in spapr_vof_client_dt_finalize()
131 if (strcmp(path, "/chosen") == 0) { in spapr_vof_setprop()
H A Dppc440_bamboo.c84 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in bamboo_load_device_tree()
87 fprintf(stderr, "couldn't set /chosen/linux,initrd-start\n"); in bamboo_load_device_tree()
89 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in bamboo_load_device_tree()
92 fprintf(stderr, "couldn't set /chosen/linux,initrd-end\n"); in bamboo_load_device_tree()
94 ret = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in bamboo_load_device_tree()
97 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in bamboo_load_device_tree()
H A Dvirtex_ml507.c160 r = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in xilinx_load_device_tree()
163 error_report("couldn't set /chosen/linux,initrd-start"); in xilinx_load_device_tree()
166 r = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in xilinx_load_device_tree()
169 error_report("couldn't set /chosen/linux,initrd-end"); in xilinx_load_device_tree()
172 r = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in xilinx_load_device_tree()
175 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in xilinx_load_device_tree()
H A De500.c144 qemu_fdt_setprop_string(fdt, "/chosen", "linux,stdout-path", ser); in dt_serial_create()
145 qemu_fdt_setprop_string(fdt, "/chosen", "stdout-path", ser); in dt_serial_create()
438 qemu_fdt_add_subnode(fdt, "/chosen"); in ppce500_load_device_tree()
440 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in ppce500_load_device_tree()
443 fprintf(stderr, "couldn't set /chosen/linux,initrd-start\n"); in ppce500_load_device_tree()
446 ret = qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in ppce500_load_device_tree()
449 fprintf(stderr, "couldn't set /chosen/linux,initrd-end\n"); in ppce500_load_device_tree()
455 qemu_fdt_setprop_cells(fdt, "/chosen", "qemu,boot-kernel", in ppce500_load_device_tree()
460 ret = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in ppce500_load_device_tree()
463 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in ppce500_load_device_tree()
[all …]
H A Dsam460ex.c163 /* default FDT doesn't have a /chosen node... */ in sam460ex_load_device_tree()
164 qemu_fdt_add_subnode(fdt, "/chosen"); in sam460ex_load_device_tree()
166 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", initrd_base); in sam460ex_load_device_tree()
168 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in sam460ex_load_device_tree()
171 qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in sam460ex_load_device_tree()
H A Dpegasos2.c418 qemu_fdt_setprop(fdt, "/chosen", "qemu,boot-kernel", d, sizeof(d)); in pegasos2_machine_reset()
424 vof_client_open_store(fdt, pm->vof, "/chosen", "stdout", "/failsafe"); in pegasos2_machine_reset()
1061 qemu_fdt_add_subnode(fdt, "/chosen"); in build_fdt()
1063 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in build_fdt()
1065 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in build_fdt()
1068 qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in build_fdt()
1070 qemu_fdt_setprop_string(fdt, "/chosen", "name", "chosen"); in build_fdt()
H A Dspapr.c1025 int chosen) in spapr_dt_ov5_platform_support() argument
1066 _FDT(fdt_setprop(fdt, chosen, "ibm,arch-vec-5-platform-support", in spapr_dt_ov5_platform_support()
1074 int chosen; in spapr_dt_chosen() local
1076 _FDT(chosen = fdt_add_subnode(fdt, 0, "chosen")); in spapr_dt_chosen()
1085 _FDT(fdt_setprop_string(fdt, chosen, "bootargs", in spapr_dt_chosen()
1090 _FDT(fdt_setprop_cell(fdt, chosen, "linux,initrd-start", in spapr_dt_chosen()
1092 _FDT(fdt_setprop_cell(fdt, chosen, "linux,initrd-end", in spapr_dt_chosen()
1100 _FDT(fdt_setprop(fdt, chosen, "qemu,boot-kernel", in spapr_dt_chosen()
1103 _FDT(fdt_setprop(fdt, chosen, "qemu,boot-kernel-le", NULL, 0)); in spapr_dt_chosen()
1107 _FDT((fdt_setprop_cell(fdt, chosen, "qemu,boot-menu", true))); in spapr_dt_chosen()
[all …]
/qemu/pc-bios/vof/
H A Dbootmem.c6 phandle chosen = ci_finddevice("/chosen"); in boot_from_memory() local
8 if (ci_getprop(chosen, "qemu,boot-kernel", kern, sizeof(kern)) != in boot_from_memory()
/qemu/hw/microblaze/
H A Dboot.c89 qemu_fdt_setprop(fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in microblaze_load_dtb()
92 r = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in microblaze_load_dtb()
95 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in microblaze_load_dtb()
100 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-start", in microblaze_load_dtb()
103 qemu_fdt_setprop_cell(fdt, "/chosen", "linux,initrd-end", in microblaze_load_dtb()
/qemu/tests/tcg/ppc64/
H A Dmtfsf.c52 * Although the VXSOFT exception has been chosen, based on test in a Power9 in main()
54 * But if a different exception is chosen si_code check should in main()
/qemu/docs/system/
H A Dguest-loader.rst30 ``/chosen/module@<addr>`` entry in the FDT to indicate its location and
54 like via the ``/chosen/module@<addr>/bootargs`` node.
/qemu/hw/rx/
H A Drx-gdbsim.c139 qemu_fdt_setprop_string(dtb, "/chosen", "bootargs", in rx_gdbsim_init()
141 error_report("Couldn't set /chosen/bootargs"); in rx_gdbsim_init()
145 qemu_fdt_setprop(dtb, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in rx_gdbsim_init()
/qemu/hw/openrisc/
H A Dboot.c85 qemu_fdt_setprop_cell(fdt, "/chosen", in openrisc_load_initrd()
87 qemu_fdt_setprop_cell(fdt, "/chosen", in openrisc_load_initrd()
H A Dopenrisc_sim.c162 qemu_fdt_add_subnode(fdt, "/chosen"); in openrisc_create_fdt()
164 qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", cmdline); in openrisc_create_fdt()
281 /* The /chosen node is created during fdt creation. */ in openrisc_sim_serial_init()
282 qemu_fdt_setprop_string(fdt, "/chosen", "stdout-path", nodename); in openrisc_sim_serial_init()
H A Dvirt.c186 qemu_fdt_add_subnode(fdt, "/chosen"); in openrisc_create_fdt()
188 qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", cmdline); in openrisc_create_fdt()
193 qemu_fdt_setprop(fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in openrisc_create_fdt()
250 /* The /chosen node is created during fdt creation. */ in openrisc_virt_serial_init()
251 qemu_fdt_setprop_string(fdt, "/chosen", "stdout-path", nodename); in openrisc_virt_serial_init()
/qemu/hw/loongarch/
H A Dvirt-fdt-build.c36 qemu_fdt_add_subnode(ms->fdt, "/chosen"); in create_fdt()
40 qemu_fdt_setprop(ms->fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in create_fdt()
405 int irq, bool chosen) in fdt_add_uart_node() argument
416 if (chosen) { in fdt_add_uart_node()
417 qemu_fdt_setprop_string(ms->fdt, "/chosen", "stdout-path", nodename); in fdt_add_uart_node()
/qemu/bsd-user/include/
H A Dspecial-errno.h13 * They should be chosen so as to not overlap with any host
/qemu/linux-user/include/
H A Dspecial-errno.h14 * They should be chosen so as to not overlap with any host
/qemu/hw/arm/
H A Dboot.c629 rc = fdt_path_offset(fdt, "/chosen"); in arm_load_dtb()
631 qemu_fdt_add_subnode(fdt, "/chosen"); in arm_load_dtb()
635 rc = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in arm_load_dtb()
638 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in arm_load_dtb()
644 rc = qemu_fdt_setprop_sized_cells(fdt, "/chosen", "linux,initrd-start", in arm_load_dtb()
647 fprintf(stderr, "couldn't set /chosen/linux,initrd-start\n"); in arm_load_dtb()
651 rc = qemu_fdt_setprop_sized_cells(fdt, "/chosen", "linux,initrd-end", in arm_load_dtb()
656 fprintf(stderr, "couldn't set /chosen/linux,initrd-end\n"); in arm_load_dtb()
/qemu/hw/mips/
H A Dboston.c380 qemu_fdt_setprop(fdt, "/chosen", "rng-seed", rng_seed, sizeof(rng_seed)); in boston_fdt_filter()
384 err = qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", cmdline); in boston_fdt_filter()
386 fprintf(stderr, "couldn't set /chosen/bootargs\n"); in boston_fdt_filter()
650 qemu_fdt_add_subnode(fdt, "/chosen"); in create_fdt()
652 qemu_fdt_setprop_string(fdt, "/chosen", "stdout-path", stdout_name); in create_fdt()
/qemu/hw/riscv/
H A Dboot.c223 qemu_fdt_setprop_u64(fdt, "/chosen", "linux,initrd-start", start); in riscv_load_initrd()
224 qemu_fdt_setprop_u64(fdt, "/chosen", "linux,initrd-end", end); in riscv_load_initrd()
290 qemu_fdt_setprop_string(fdt, "/chosen", "bootargs", in riscv_load_kernel()
/qemu/include/system/
H A Daccel-ops.h33 /* initialization function called when accel is chosen */
/qemu/docs/specs/
H A Driscv-aia.rst26 the AIA mode chosen
/qemu/pc-bios/
HDopenbios-sparc32 ... device platform-boot (arch-go) /chosen UUID: %02x%02x%02 ...

12345