Home
last modified time | relevance | path

Searched +full:- +full:- +full:enable +full:- +full:fdt (Results 1 – 25 of 42) sorted by relevance

12

/qemu/hw/arm/
H A Dvirt.c2 * ARM mach-virt emulation
23 * + we want to present a very stripped-down minimalist platform,
41 #include "hw/vfio/vfio-calxeda-xgmac.h"
42 #include "hw/vfio/vfio-amd-xgbe.h"
57 #include "qemu/error-report.h"
59 #include "hw/pci-host/gpex.h"
60 #include "hw/virtio/virtio-pci.h"
61 #include "hw/core/sysbus-fdt.h"
62 #include "hw/platform-bus.h"
63 #include "hw/qdev-properties.h"
[all …]
H A Dboot.c4 * Copyright (c) 2006-2007 CodeSourcery.
12 #include "qemu/error-report.h"
16 #include "hw/arm/linux-boot-if.h"
29 #include "qemu/config-file.h"
57 if (arm_feature(&cpu->env, ARM_FEATURE_EL3) && info->secure_boot) { in arm_boot_address_space()
67 { 0x580000c0 }, /* ldr x0, arg ; Load the lower 32-bits of DTB */
71 { 0x58000084 }, /* ldr x4, entry ; Load the lower 32-bits of kernel entry */
73 { 0, FIXUP_ARGPTR_LO }, /* arg: .word @DTB Lower 32-bits */
74 { 0, FIXUP_ARGPTR_HI}, /* .word @DTB Higher 32-bits */
75 { 0, FIXUP_ENTRYPOINT_LO }, /* entry: .word @Kernel Entry Lower 32-bits */
[all …]
H A Dxlnx-zcu102.c20 #include "hw/arm/xlnx-zynqmp.h"
23 #include "qemu/error-report.h"
43 #define TYPE_ZCU102_MACHINE MACHINE_TYPE_NAME("xlnx-zcu102")
51 return s->secure; in OBJECT_DECLARE_SIMPLE_TYPE()
58 s->secure = value; in zcu102_set_secure()
65 return s->virt; in zcu102_get_virt()
72 s->virt = value; in zcu102_set_virt()
75 static void zcu102_modify_dtb(const struct arm_boot_info *binfo, void *fdt) in zcu102_modify_dtb() argument
85 if (!s->secure) { in zcu102_modify_dtb()
86 node_path = qemu_fdt_node_path(fdt, NULL, "xlnx,zynqmp-firmware", in zcu102_modify_dtb()
[all …]
H A Dxlnx-versal-virt.c13 #include "qemu/error-report.h"
19 #include "hw/arm/fdt.h"
20 #include "hw/qdev-properties.h"
21 #include "hw/arm/xlnx-versal.h"
26 #define TYPE_XLNX_VERSAL_VIRT_MACHINE MACHINE_TYPE_NAME("xlnx-versal-virt")
36 void *fdt; member
61 s->fdt = create_device_tree(&s->fdt_size); in fdt_create()
62 if (!s->fdt) { in fdt_create()
68 s->phandle.gic = qemu_fdt_alloc_phandle(s->fdt); in fdt_create()
69 for (i = 0; i < ARRAY_SIZE(s->phandle.ethernet_phy); i++) { in fdt_create()
[all …]
H A Dvexpress.c4 * Copyright (c) 2010 - 2011 B Labs Ltd.
20 * Contributions after 2012-01-13 are licensed under the terms of the
38 #include "qemu/error-report.h"
48 #include "target/arm/cpu-qom.h"
63 * the "legacy" one (used for A9) and the "Cortex-A Series"
189 #define TYPE_VEXPRESS_A9_MACHINE MACHINE_TYPE_NAME("vexpress-a9")
190 #define TYPE_VEXPRESS_A15_MACHINE MACHINE_TYPE_NAME("vexpress-a15")
218 unsigned int smp_cpus = ms->smp.cpus; in init_cpus()
233 if (object_property_find(cpuobj, "reset-cbar")) { in init_cpus()
234 object_property_set_int(cpuobj, "reset-cbar", periphbase, in init_cpus()
[all …]
/qemu/hw/ppc/
H A Dspapr_vio.c23 #include "qemu/error-report.h"
37 #include "hw/ppc/fdt.h"
50 return g_strdup_printf("%s@%x", pc->dt_name, dev->reg); in spapr_vio_get_dev_name()
57 k->get_dev_path = spapr_vio_get_dev_name; in spapr_vio_bus_class_init()
58 k->get_fw_dev_path = spapr_vio_get_dev_name; in spapr_vio_bus_class_init()
73 QTAILQ_FOREACH(kid, &bus->bus.children, sibling) { in spapr_vio_find_by_reg()
74 dev = (SpaprVioDevice *)kid->child; in spapr_vio_find_by_reg()
75 if (dev->reg == reg) { in spapr_vio_find_by_reg()
84 void *fdt) in vio_make_devnode() argument
91 vdevice_off = fdt_path_offset(fdt, "/vdevice"); in vio_make_devnode()
[all …]
H A Dppc440_bamboo.c17 #include "qemu/error-report.h"
18 #include "exec/page-protection.h"
26 #include "hw/char/serial-mm.h"
28 #include "hw/pci-host/ppc4xx.h"
32 #include "hw/intc/ppc-uic.h"
33 #include "hw/qdev-properties.h"
40 /* from u-boot */
59 int ret = -1; in bamboo_load_device_tree()
60 uint32_t mem_reg_property[] = { 0, 0, cpu_to_be32(machine->ram_size) }; in bamboo_load_device_tree()
63 void *fdt; in bamboo_load_device_tree() local
[all …]
H A Dsam460ex.c5 * Copyright (c) 2016-2019 BALATON Zoltan
17 #include "qemu/error-report.h"
23 #include "system/block-backend.h"
24 #include "exec/page-protection.h"
29 #include "hw/pci-host/ppc4xx.h"
34 #include "hw/char/serial-mm.h"
38 #include "hw/usb/hcd-ehci.h"
39 #include "hw/ppc/fdt.h"
40 #include "hw/qdev-properties.h"
41 #include "hw/intc/ppc-uic.h"
[all …]
H A De500.c2 * QEMU PowerPC e500-based platforms
20 #include "qemu/guest-random.h"
24 #include "e500-ccsr.h"
26 #include "qemu/config-file.h"
28 #include "hw/char/serial-mm.h"
30 #include "system/block-backend-io.h"
40 #include "hw/qdev-properties.h"
44 #include "qemu/host-utils.h"
46 #include "hw/pci-host/ppce500.h"
47 #include "qemu/error-report.h"
[all …]
H A Dspapr_nvdimm.c4 * Copyright (c) 2019-2020, IBM Corporation.
30 #include "qemu/nvdimm-utils.h"
31 #include "hw/ppc/fdt.h"
34 #include "block/thread-pool.h"
37 #include "hw/qdev-properties.h"
55 #define TYPE_SPAPR_NVDIMM "spapr-nvdimm"
73 MemoryRegion *mr = host_memory_backend_get_memory(dimm->hostmem); in spapr_nvdimm_validate()
78 if (!mc->nvdimm_supported) { in spapr_nvdimm_validate()
83 if (!ms->nvdimms_state->is_enabled) { in spapr_nvdimm_validate()
90 error_setg(errp, "PAPR requires NVDIMM devices to have label-size set"); in spapr_nvdimm_validate()
[all …]
H A Dpnv_chiptod.c4 * Copyright (c) 2022-2023, IBM Corporation.
6 * SPDX-License-Identifier: GPL-2.0-or-later
9 * purpose is to keep time-of-day across chips and cores.
32 #include "hw/qdev-properties.h"
33 #include "hw/ppc/fdt.h"
53 /* -- TOD primary/secondary master/slave control register -- */
56 /* -- TOD primary/secondary master/slave status register -- */
64 #define TOD_TX_TTYPE_2_REG 0x00000013 /* Enable step checkers */
78 /* -- TOD Error interrupt register -- */
86 * - The reset state is 0 error.
[all …]
H A Dspapr.c4 * Copyright (c) 2004-2007 Fabrice Bellard
7 * Copyright (c) 2010-2024, IBM Corporation..
9 * SPDX-License-Identifier: GPL-2.0-or-later
33 #include "qemu/guest-random.h"
35 #include "qapi/qapi-events-machine.h"
36 #include "qapi/qapi-events-qdev.h"
46 #include "hw/fw-path-provider.h"
54 #include "migration/qemu-file-types.h"
58 #include "mmu-hash64.h"
59 #include "mmu-book3s-v3.h"
[all …]
H A Dspapr_hcall.c8 #include "qemu/main-loop.h"
10 #include "qemu/error-report.h"
11 #include "exec/tb-flush.h"
18 #include "mmu-hash64.h"
19 #include "cpu-models.h"
22 #include "hw/ppc/fdt.h"
25 #include "mmu-book3s-v3.h"
26 #include "hw/mem/memory-device.h"
31 DeviceMemoryState *dms = machine->device_memory; in is_ram_address()
33 if (addr < machine->ram_size) { in is_ram_address()
[all …]
/qemu/
H A D.travis.yml5 - gcc
9 # - OS name (currently only linux)
10 # - OS distribution (e.g. "jammy" for Linux)
11 # - Names and values of visible environment variables set in .travis.yml or Settings panel
19 # $ travis encrypt -r "qemu/qemu" "irc.oftc.net#qemu"
23- secure: "F7GDRgjuOo5IUyRLqSkmDL7kvdU4UcH3Lm/W2db2JnDHTGCqgEdaYEYKciyCLZ57vOTsTsOgesN8iUT7hNHBd1K…
30 - SRC_DIR=".."
31 - BUILD_DIR="build"
32 - BASE_CONFIG="--disable-docs --disable-tools"
33 - TEST_BUILD_CMD=""
[all …]
/qemu/hw/mips/
H A Dboston.c25 #include "hw/char/serial-mm.h"
27 #include "hw/ide/ahci-pci.h"
29 #include "hw/loader-fit.h"
32 #include "hw/pci-host/xilinx-pcie.h"
33 #include "hw/qdev-clock.h"
34 #include "hw/qdev-properties.h"
36 #include "qemu/error-report.h"
37 #include "qemu/guest-random.h"
49 #define TYPE_BOSTON "mips-boston"
158 if (event == CHR_EVENT_OPENED && !s->lcd_inited) { in boston_lcd_event()
[all …]
/qemu/pc-bios/
HDu-boot.e500 ... to %p, end %p ... fdt move failed bootdelay kernel-offset kernaddr rootdisk-offset ...
/qemu/hw/riscv/
H A Dvirt.c2 * QEMU RISC-V VirtIO Board
6 * RISC-V machine with 16550a UART and VirtIO MMIO
23 #include "qemu/error-report.h"
24 #include "qemu/guest-random.h"
29 #include "hw/qdev-properties.h"
30 #include "hw/char/serial-mm.h"
32 #include "hw/core/sysbus-fdt.h"
36 #include "hw/riscv/riscv-iommu-bits.h"
46 #include "hw/platform-bus.h"
55 #include "hw/pci-host/gpex.h"
[all …]
/qemu/hw/core/
H A Dsysbus-fdt.c30 #include "hw/core/sysbus-fdt.h"
31 #include "qemu/error-report.h"
34 #include "hw/platform-bus.h"
35 #include "hw/vfio/vfio-platform.h"
36 #include "hw/vfio/vfio-calxeda-xgmac.h"
37 #include "hw/vfio/vfio-amd-xgbe.h"
38 #include "hw/vfio/vfio-region.h"
40 #include "hw/uefi/var-service-api.h"
41 #include "hw/arm/fdt.h"
48 void *fdt; /* device tree handle */ member
[all …]
/qemu/.gitlab-ci.d/
H A Dcrossbuild-template.yml7 - ccache
12 - source scripts/ci/gitlab-ci-section
13 - section_start setup "Pre-script setup"
14 - JOBS=$(expr $(nproc) + 1)
15 - cat /packages.txt
16 - section_end setup
18 - export CCACHE_BASEDIR="$(pwd)"
19 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
20 - export CCACHE_MAXSIZE="500M"
21 - export PATH="$CCACHE_WRAPPERSDIR:$PATH"
[all …]
H A Dbuildtest-template.yml7 - ccache
11 - source scripts/ci/gitlab-ci-section
12 - section_start setup "Pre-script setup"
13 - JOBS=$(expr $(nproc) + 1)
14 - cat /packages.txt
15 - section_end setup
17 - export CCACHE_BASEDIR="$(pwd)"
18 - export CCACHE_DIR="$CCACHE_BASEDIR/ccache"
19 - export CCACHE_MAXSIZE="500M"
20 - export PATH="$CCACHE_WRAPPERSDIR:$PATH"
[all …]
H A Dcrossbuilds.yml2 - local: '/.gitlab-ci.d/crossbuild-template.yml'
4 cross-armhf-user:
7 job: armhf-debian-cross-container
9 IMAGE: debian-armhf-cross
11 cross-arm64-system:
14 job: arm64-debian-cross-container
16 IMAGE: debian-arm64-cross
18 cross-arm64-user:
21 job: arm64-debian-cross-container
23 IMAGE: debian-arm64-cross
[all …]
H A Dbuildtest.yml2 - local: '/.gitlab-ci.d/buildtest-template.yml'
4 build-system-alpine:
6 - .native_build_job_template
7 - .native_build_artifact_template
9 - job: amd64-alpine-container
12 TARGETS: avr-softmmu loongarch64-softmmu mips64-softmmu mipsel-softmmu
13 MAKE_CHECK_ARGS: check-build
14 CONFIGURE_ARGS: --enable-docs --enable-trace-backends=log,simple,syslog
16 check-system-alpine:
19 - job: build-system-alpine
[all …]
/qemu/scripts/
H A Dmeson-buildoptions.sh1 # This file is generated by meson-buildoptions.py, do not edit!
3 printf "%s\n" ' --audio-drv-list=CHOICES Set audio driver list [default] (choices: alsa/co'
6 printf "%s\n" ' --bindir=VALUE Executable directory [bin]'
7 printf "%s\n" ' --block-drv-ro-whitelist=VALUE'
8 printf "%s\n" ' set block driver read-only whitelist (by default'
9 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
10 printf "%s\n" ' --block-drv-rw-whitelist=VALUE'
11 printf "%s\n" ' set block driver read-write whitelist (by default'
12 printf "%s\n" ' affects only QEMU, not tools like qemu-img)'
13 printf "%s\n" ' --datadir=VALUE Data file directory [share]'
[all …]
/qemu/include/hw/ppc/
H A Dspapr.h8 #include "hw/mem/pc-dimm.h"
32 #define TYPE_SPAPR_RTC "spapr-rtc"
44 #define TYPE_SPAPR_MACHINE "spapr-machine"
72 /* Nested KVM-HV */
104 /* SPAPR_CAP_IBS (cap-ibs) */
118 * for non-CPU resources.
121 * array for any non-CPU resource.
146 bool dr_phb_enabled; /* enable dynamic-reconfig/hotplug of PHBs */
147 bool update_dt_enabled; /* enable KVMPPC_H_UPDATE_DT */
151 bool pre_4_1_migration; /* don't migrate hpt-max-page-size */
[all …]
H A Dpnv.h4 * Copyright (c) 2014-2016 BenH, IBM Corporation.
29 #define TYPE_PNV_CHIP "pnv-chip"
37 #define PNV_CHIP_TYPE_SUFFIX "-" TYPE_PNV_CHIP
83 void (*dt_power_mgt)(PnvMachineState *pnv, void *fdt);
122 void pnv_dt_bmc_sensors(IPMIBmc *bmc, void *fdt);
133 (0x0003fc0000000000ull + ((uint64_t)(chip)->chip_id) * PNV_XSCOM_SIZE)
138 PNV_OCC_SENSOR_DATA_BLOCK_BASE((chip)->chip_id))
142 (0x7ffd800000ull + ((uint64_t)(chip)->chip_id) * PNV_HOMER_SIZE)
149 * 30 : 1 to enable ICP to receive loads/stores against its BAR region
154 * 0xffffe00200000000 -> 0x0003ffff80000000
[all …]

12