Searched full:aplic (Results 1 – 13 of 13) sorted by relevance
/freebsd/sys/riscv/vmm/ |
H A D | vmm_aplic.c | 51 MALLOC_DEFINE(M_APLIC, "RISC-V VMM APLIC", "RISC-V AIA APLIC"); 103 struct aplic { struct 113 aplic_handle_sourcecfg(struct aplic *aplic, int i, bool write, uint64_t *val) in aplic_handle_sourcecfg() argument 117 if (i <= 0 || i > aplic->nirqs) in aplic_handle_sourcecfg() 120 mtx_lock_spin(&aplic->mtx); in aplic_handle_sourcecfg() 121 irq = &aplic->irqs[i]; in aplic_handle_sourcecfg() 126 mtx_unlock_spin(&aplic->mtx); in aplic_handle_sourcecfg() 132 aplic_set_enabled(struct aplic *aplic, bool write, uint64_t *val, bool enabled) in aplic_set_enabled() argument 143 if (i <= 0 || i > aplic->nirqs) in aplic_set_enabled() 146 irq = &aplic->irqs[i]; in aplic_set_enabled() [all …]
|
H A D | vmm_dev_machdep.c | 70 struct vm_aplic_descr *aplic; in vmmdev_machdep_ioctl() local 104 aplic = (struct vm_aplic_descr *)data; in vmmdev_machdep_ioctl() 105 error = vm_attach_aplic(vm, aplic); in vmmdev_machdep_ioctl()
|
H A D | riscv.h | 113 struct aplic *aplic; member
|
/freebsd/sys/contrib/device-tree/Bindings/interrupt-controller/ |
H A D | riscv,aplic.yaml | 4 $id: http://devicetree.org/schemas/interrupt-controller/riscv,aplic.yaml# 7 title: RISC-V Advanced Platform Level Interrupt Controller (APLIC) 14 platform level interrupt controller (APLIC) for handling wired interrupts 18 The RISC-V APLIC is implemented as hierarchical APLIC domains where all 19 interrupt sources connect to the root APLIC domain and a parent APLIC 20 domain can delegate interrupt sources to it's child APLIC domains. There 21 is one device tree node for each APLIC domain. 30 - qemu,aplic 31 - const: riscv,aplic 45 Given APLIC domain directly injects external interrupts to a set of [all …]
|
/freebsd/lib/libvmmapi/riscv/ |
H A D | vmmapi_machdep.c | 62 struct vm_aplic_descr aplic; in vm_attach_aplic() local 64 bzero(&aplic, sizeof(aplic)); in vm_attach_aplic() 65 aplic.mem_start = mem_start; in vm_attach_aplic() 66 aplic.mem_size = mem_size; in vm_attach_aplic() 68 return (ioctl(ctx->fd, VM_ATTACH_APLIC, &aplic)); in vm_attach_aplic()
|
/freebsd/sys/riscv/riscv/ |
H A D | aplic.c | 87 #define APLIC_SRC_CFG_SM_INACTIVE 0 /* APLIC inactive in domain */ 94 /* Register offsets in APLIC configuration space */ 184 fdt_get_hartid(device_t dev, phandle_t aplic) in fdt_get_hartid() argument 189 if (OF_searchencprop(aplic, "#interrupt-cells", &hartid, in fdt_get_hartid() 192 "Could not find #interrupt-cells for phandle %u\n", aplic); in fdt_get_hartid() 200 if (OF_searchencprop(OF_parent(aplic), "reg", (pcell_t *)&hartid, in fdt_get_hartid() 303 if (!ofw_bus_is_compatible(dev, "riscv,aplic")) in aplic_probe() 312 * Setup APLIC in direct mode. 354 /* Set APLIC in direct mode and enable all interrupts */ in aplic_setup_direct_mode() 455 /* APLIC with IMSIC on hart is not supported */ in aplic_attach() [all …]
|
/freebsd/sys/conf/ |
H A D | files.riscv | 40 riscv/riscv/aplic.c standard
|
/freebsd/usr.sbin/bhyve/riscv/ |
H A D | fdt.c | 188 fdt_property_string(fdt, "compatible", "riscv,aplic"); in fdt_add_aplic()
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | dmtable.c | 438 "RISC-V APLIC Controller", /* ACPI_MADT_TYPE_APLIC */
|
H A D | dmtbinfo2.c | 1118 /* 26: RISC-V APLIC interrupt controller */
|
/freebsd/usr.sbin/acpi/acpidump/ |
H A D | acpi.c | 1335 APPEND(0x10, "RISC-V PLIC/APLIC"); in spcr_interrupt_type()
|
/freebsd/sys/contrib/dev/acpica/include/ |
H A D | actbl2.h | 1694 /* 26: RISC-V APLIC */
|
/freebsd/share/misc/ |
H A D | usb_vendors | 23825 ab12 aplic
|