/qemu/hw/ppc/ |
H A D | vof.c | 720 vof->claimed_base = QEMU_ALIGN_UP(vof->claimed_base, align); in vof_claim() 722 if (vof->claimed_base >= vof->top_addr) { in vof_claim() 726 if (vof_claim_avail(vof->claimed, vof->claimed_base, size)) { in vof_claim() 735 vof->claimed_base = MAX(vof->claimed_base, ret + size); in vof_claim() 897 vof_dt_memory_available(fdt, vof->claimed, vof->claimed_base); in vof_client_handle() 908 vof_dt_memory_available(fdt, vof->claimed, vof->claimed_base); in vof_client_handle() 1004 vof_cleanup(vof); in vof_init() 1012 if (vof_claim(vof, 0, vof->fw_size, 0) == -1) { in vof_init() 1019 if (vof->claimed) { in vof_cleanup() 1025 vof->claimed = NULL; in vof_cleanup() [all …]
|
H A D | spapr_vof.c | 20 int ret = vof_client_call(MACHINE(spapr), spapr->vof, spapr->fdt_blob, in spapr_h_vof_client() 33 vof_build_dt(fdt, spapr->vof); in spapr_vof_client_dt_finalize() 35 if (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() 60 Vof *vof = spapr->vof; in spapr_vof_reset() local 63 vof_init(vof, spapr->rma_size, errp); in spapr_vof_reset() 65 stack_ptr = vof_claim(vof, 0, VOF_STACK_SIZE, VOF_STACK_SIZE); in spapr_vof_reset() 74 vof_claim(vof, spapr->kernel_addr, spapr->kernel_size, 0) == -1) { in spapr_vof_reset() 133 Vof *vof = spapr->vof; in spapr_vof_setprop() local 135 g_free(vof->bootargs); in spapr_vof_setprop() [all …]
|
H A D | pegasos2.c | 80 Vof *vof; member 98 if (pm->vof) { in pegasos2_cpu_reset() 154 if (!machine->firmware && !pm->vof) { in pegasos2_init() 155 pm->vof = g_malloc0(sizeof(*pm->vof)); in pegasos2_init() 169 if (pm->vof) { in pegasos2_init() 170 pm->vof->fw_size = sz; in pegasos2_init() 222 if (!pm->vof) { in pegasos2_init() 225 } else if (pm->vof && !qtest_enabled()) { in pegasos2_init() 302 if (!pm->vof) { in pegasos2_machine_reset() 371 vof_init(pm->vof, machine->ram_size, &error_fatal); in pegasos2_machine_reset() [all …]
|
H A D | meson.build | 92 ppc_ss.add(when: 'CONFIG_VOF', if_true: files('vof.c'))
|
H A D | spapr.c | 1809 if (spapr->vof) { in spapr_machine_reset() 2848 const char *bios_default = spapr->vof ? FW_FILE_NAME_VOF : FW_FILE_NAME; in spapr_machine_init() 3171 if (spapr->vof) { in spapr_machine_init() 3172 spapr->vof->fw_size = fw_size; /* for claim() on itself */ in spapr_machine_init() 3371 return spapr->vof != NULL; in spapr_get_vof() 3378 if (spapr->vof) { in spapr_set_vof() 3379 vof_cleanup(spapr->vof); in spapr_set_vof() 3380 g_free(spapr->vof); in spapr_set_vof() 3381 spapr->vof = NULL; in spapr_set_vof() 3386 spapr->vof = g_malloc0(sizeof(*spapr->vof)); in spapr_set_vof()
|
H A D | trace-events | 74 # vof.c
|
H A D | spapr_hcall.c | 1321 fdt = spapr_build_fdt(spapr, spapr->vof != NULL, fdt_bufsize); in do_client_architecture_support()
|
/qemu/include/hw/ppc/ |
H A D | vof.h | 24 int vof_client_call(MachineState *ms, Vof *vof, void *fdt, 26 uint64_t vof_claim(Vof *vof, uint64_t virt, uint64_t size, uint64_t align); 27 void vof_init(Vof *vof, uint64_t top_addr, Error **errp); 28 void vof_cleanup(Vof *vof); 29 void vof_build_dt(void *fdt, Vof *vof); 30 uint32_t vof_client_open_store(void *fdt, Vof *vof, const char *nodename,
|
H A D | spapr.h | 212 Vof *vof; member
|
/qemu/pc-bios/vof/ |
H A D | Makefile | 3 all: vof.bin 20 vof.elf: entry.o main.o ci.o bootmem.o libc.o 21 $(call quiet-command, $(LD) -nostdlib -e_start -T$(SRC_DIR)/vof.lds -EB -o $@ $^,Linking) 27 rm -f *.o vof.bin vof.elf *~
|
/qemu/pc-bios/ |
H A D | meson.build | 80 'vof.bin', 81 'vof-nvram.bin',
|
H A D | README | 20 -machine pseries,x-vof=on. When enabled, the firmware acts as a slim shim and
|
/qemu/docs/system/ppc/ |
H A D | pseries.rst | 49 ``-machine pseries,x-vof=on``. When enabled, the firmware acts as a slim 59 | kernel | pseries,x-vof=off | pseries,x-vof=on |
|
/qemu/ |
H A D | configure | 1567 config_mak=pc-bios/vof/config.mak
|
H A D | MAINTAINERS | 1594 F: hw/ppc/vof* 1595 F: include/hw/ppc/vof* 1596 F: pc-bios/vof/* 1597 F: pc-bios/vof*
|