| /freebsd-src/sys/contrib/device-tree/Bindings/mailbox/ |
| H A D | xlnx,zynqmp-ipi-mailbox.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/mailbox/xlnx,zynqmp-ipi-mailbox.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Xilinx IPI(Inter Processor Interrupt) mailbox controller 10 The Xilinx IPI(Inter Processor Interrupt) mailbox controller is to manage 11 messaging between two Xilinx Zynq UltraScale+ MPSoC IPI agents. Each IPI 14 +-------------------------------------+ 15 | Xilinx ZynqMP IPI Controller | 16 +-------------------------------------+ [all …]
|
| H A D | xlnx,zynqmp-ipi-mailbox.txt | 1 Xilinx IPI Mailbox Controller 4 The Xilinx IPI(Inter Processor Interrupt) mailbox controller is to manage 5 messaging between two Xilinx Zynq UltraScale+ MPSoC IPI agents. Each IPI 8 +-------------------------------------+ 9 | Xilinx ZynqMP IPI Controller | 10 +-------------------------------------+ 11 +--------------------------------------------------+ 15 +--------------------------+ | 18 +--------------------------------------------------+ 19 +------------------------------------------+ [all …]
|
| /freebsd-src/sys/x86/x86/ |
| H A D | mp_x86.c | 1 /*- 90 int boot_cpu_id = -1; /* designated BSP */ 156 static int intr_apic_id_limit = -1; 159 "Maximum permitted APIC ID for interrupt delivery (-1 is unlimited)"); 181 if (mem_range_softc.mr_op && mem_range_softc.mr_op->initAP) in mem_range_AP_init() 182 mem_range_softc.mr_op->initAP(&mem_range_softc); in mem_range_AP_init() 186 * Compute ceil(log2(x)). Returns -1 if x is zero. 192 return (x == 0 ? -1 : order_base_2(x)); in mask_width() 215 if (caches[level - in add_deterministic_cache() 1287 ipi_bitmap_set(int cpu,u_int ipi) ipi_bitmap_set() argument 1309 ipi_send_cpu(int cpu,u_int ipi) ipi_send_cpu() argument 1382 ipi_selected(cpuset_t cpus,u_int ipi) ipi_selected() argument 1404 ipi_cpu(int cpu,u_int ipi) ipi_cpu() argument 1423 ipi_all_but_self(u_int ipi) ipi_all_but_self() argument [all...] |
| /freebsd-src/sys/riscv/riscv/ |
| H A D | mp_machdep.c | 1 /*- 11 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme. 111 void *dpcpu[MAXCPU - 1]; 122 /* Setup the IPI handlers */ in release_aps() 160 cpuid -= boot_hart; in init_secondary() 177 pcpup->pc_curthread = pcpup->pc_idlethread; in init_secondary() 184 /* Start per-CP in init_secondary() 327 cpu_init_fdt(u_int id,phandle_t node,u_int addr_size,pcell_t * reg) cpu_init_fdt() argument 494 ipi_all_but_self(u_int ipi) ipi_all_but_self() argument 506 ipi_cpu(int cpu,u_int ipi) ipi_cpu() argument 518 ipi_selected(cpuset_t cpus,u_int ipi) ipi_selected() argument [all...] |
| /freebsd-src/sys/arm64/arm64/ |
| H A D | mp_machdep.c | 1 /*- 2 * Copyright (c) 2015-2016 The FreeBSD Foundation 92 { "arm,foundation-aarch64", MP_QUIRK_CPULIST }, 93 { "arm,fvp-base", MP_QUIRK_CPULIST }, 95 { "arm,vfp-base", MP_QUIRK_CPULIST }, 132 static void *dpcpu[MAXCPU - 1]; 198 * valid. Some older U-Boot based PSCI implementations are buggy, in init_secondary() 221 pcpup->pc_midr = get_midr(); in init_secondary() 237 pcpup->pc_curthread = pcpup->pc_idlethrea in init_secondary() 526 u_int id; madt_handler() local 607 start_cpu_fdt(u_int id,phandle_t node,u_int addr_size,pcell_t * reg) start_cpu_fdt() argument 818 ipi_all_but_self(u_int ipi) ipi_all_but_self() argument 829 ipi_cpu(int cpu,u_int ipi) ipi_cpu() argument 841 ipi_selected(cpuset_t cpus,u_int ipi) ipi_selected() argument [all...] |
| /freebsd-src/sys/powerpc/powerpc/ |
| H A D | mp_machdep.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 107 /* Start per-CPU event timers. */ in machdep_ap_bootstrap() 156 printf("SMP: cpu%d: skipped -- ID out of range\n", in cpu_mp_start() 161 printf("SMP: cpu%d: skipped - duplicate ID\n", in cpu_mp_start() 181 pc->pc_cpuid = bsp.cr_cpuid; in cpu_mp_start() 182 pc->pc_bsp = 1; in cpu_mp_start() 184 pc->pc_domain = domain; in cpu_mp_start() 185 pc->pc_hwref = cpu.cr_hwref; in cpu_mp_start() 187 CPU_SET(pc->pc_cpuid, &cpuset_domain[pc->pc_domain]); in cpu_mp_start() [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | PDBFileBuilder.cpp | 1 //===- PDBFileBuilder.cpp - PDB File Creation -------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 78 if (!Ipi) in getIpiBuilder() 79 Ipi = std::make_unique<TpiStreamBuilder>(*Msf, StreamIPI); in getIpiBuilder() 80 return *Ipi; in getIpiBuilder() 95 auto ExpectedStream = Msf->addStream(Size); in allocateNamedStream() 135 if (Ipi && Ipi->getRecordCount() > 0) { in finalizeMsfLayout() 136 // In theory newer PDBs always have an ID stream, but by saying that we're in finalizeMsfLayout() 137 // only going to *really* have an ID stream if there is at least one ID in finalizeMsfLayout() [all …]
|
| H A D | NativeInlineSiteSymbol.cpp | 1 //===- NativeInlineSiteSymbol.cpp - info about inline sites -----*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 29 NativeSession &Session, SymIndexId Id, const codeview::InlineSiteSym &Sym, in NativeInlineSiteSymbol() argument 31 : NativeRawSymbol(Session, PDB_SymType::InlineSite, Id), Sym(Sym), in NativeInlineSiteSymbol() 44 findInlineeByTypeIndex(TypeIndex Id, ModuleDebugStreamRef &ModS) { in findInlineeByTypeIndex() argument 57 if (Line.Header->Inlinee == Id) in findInlineeByTypeIndex() 69 auto Ipi = Session.getPDBFile().getPDBIpiStream(); in getName() local 70 if (!Ipi) { in getName() 71 consumeError(Ipi.takeError()); in getName() [all …]
|
| /freebsd-src/sys/powerpc/include/ |
| H A D | openpicreg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 37 * Per Processor Registers [private access] (0x00000 - 0x00fff) 40 /* IPI dispatch command reg */ 41 #define OPENPIC_IPI_DISPATCH(ipi) (0x40 + (ipi) * 0x10) argument 56 * Global registers (0x01000-0x0ffff) 78 /* vendor ID */ 84 /* IPI vector/priority reg */ 85 #define OPENPIC_IPI_VECTOR(ipi) (0x10a0 + (ipi) * 0x10) argument 99 * Interrupt Source Configuration Registers (0x10000 - 0x1ffff) [all …]
|
| /freebsd-src/sys/x86/xen/ |
| H A D | xen_apic.c | 47 #include <xen/xen-os.h> 54 #include <contrib/xen/arch-x86/cpuid.h> 57 /*--------------------------- Forward Declarations ---------------------------*/ 72 /*---------------------------------- Macros ----------------------------------*/ 73 #define IPI_TO_IDX(ipi) ((ipi) - APIC_IPI_INTS) argument 75 /*--------------------------------- Xen IPIs ---------------------------------*/ 103 * https://lists.freebsd.org/archives/freebsd-xen/2022-January/000032.html 107 /*------------------------------- Per-CPU Data -------------------------------*/ 110 /*------------------------------- Xen PV APIC --------------------------------*/ 112 #define PCPU_ID_GET(id, field) (pcpu_find(id)->pc_##field) argument [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64PromoteConstant.cpp | 1 //==- AArch64PromoteConstant.cpp - Promote constant to global for AArch64 --==// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 20 //===----------------------------------------------------------------------===// 53 #define DEBUG_TYPE "aarch64-promote-const" 55 // Stress testing mode - disable heuristics. 56 static cl::opt<bool> Stress("aarch64-stress-promote-const", cl::Hidden, 62 //===----------------------------------------------------------------------===// 64 //===----------------------------------------------------------------------===// 111 static char ID; member in __anon8fd95ca90111::AArch64PromoteConstant [all …]
|
| /freebsd-src/sys/netinet/ |
| H A D | in_pcb.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 6 * Copyright (c) 2010-2011 Juniper Networks, Inc. 64 * protocol-specific control block) are stored here. 88 * NOTE: ipv6 addrs should be 64-bit aligned, per RFC 2553. in_conninfo has 90 * NOTE 2: tcp_syncache.c uses first 5 32-bit words, which identify fport, 103 u_int32_t ie6_zoneid; /* scope zone id */ 488 INP_INFO_WLOCK(ipi) global() argument 489 INP_INFO_WLOCKED(ipi) global() argument 490 INP_INFO_WUNLOCK(ipi) global() argument 491 INP_INFO_LOCK_ASSERT(ipi) global() argument 493 INP_INFO_WLOCK_ASSERT(ipi) global() argument 494 INP_INFO_WUNLOCK_ASSERT(ipi) global() argument 497 INP_HASH_WLOCK(ipi) global() argument 498 INP_HASH_WUNLOCK(ipi) global() argument 499 INP_HASH_LOCK_ASSERT(ipi) global() argument 501 INP_HASH_WLOCK_ASSERT(ipi) global() argument 690 const struct inpcbinfo *ipi; global() member [all...] |
| /freebsd-src/sys/kern/ |
| H A D | subr_intr.c | 1 /*- 2 * Copyright (c) 2015-2016 Svatopluk Kraus 3 * Copyright (c) 2015-2016 Michal Meloun 5 * Copyright (c) 2015-2016 The FreeBSD Foundation 35 * New-style Interrupt Framework 37 * TODO: - add support for disconnected PICs. 38 * - to support IPI (PPI) enabling on other CPUs if already started. 39 * - to complete things for removable PICs. 201 * - in intr_irq_init() 1817 intr_ipi_lookup(u_int ipi) global() argument 1846 intr_ipi_setup(u_int ipi,const char * name,intr_ipi_handler_t * hand,void * arg) global() argument 1882 intr_ipi_send(cpuset_t cpus,u_int ipi) global() argument 1916 intr_ipi_dispatch(u_int ipi) global() argument [all...] |
| H A D | subr_smp.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 85 "Max CPU ID."); 106 int mp_ncores = -1; /* how many physical cores running */ 143 KASSERT(mp_maxid >= mp_ncpus - 1, in mp_setmaxid() 186 int id; in forward_signal() local 197 CTR1(KTR_SMP, "forward_signal(%p)", td->td_proc); in forward_signal() 202 /* No need to IPI ourself. */ in forward_signal() 206 id = td->td_oncpu; in forward_signal() 207 if (id == NOCPU) in forward_signal() [all …]
|
| /freebsd-src/sys/i386/i386/ |
| H A D | mp_machdep.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 158 for (i = *physmap_idx; i <= *physmap_idx; i -= 2) { in alloc_ap_trampoline() 165 (trunc_page(physmap[i + 1]) - round_page(physmap[i])) < in alloc_ap_trampoline() 176 if ((physmap[i + 1] - boot_address) < bootMP_size) in alloc_ap_trampoline() 177 boot_address -= round_page(bootMP_size); in alloc_ap_trampoline() 185 sizeof(*physmap) * (*physmap_idx - i + 2)); in alloc_ap_trampoline() 186 *physmap_idx -= 2; in alloc_ap_trampoline() 192 boot_address = basemem * 1024 - bootMP_size; in alloc_ap_trampoline() 201 * Initialize the IPI handlers and start up the AP's. [all …]
|
| /freebsd-src/sys/amd64/amd64/ |
| H A D | mp_machdep.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 115 * Initialize the IPI handlers and start up the AP's. 122 /* Initialize the logical ID to APIC ID table. */ in cpu_mp_start() 124 cpu_apic_ids[i] = -1; in cpu_mp_start() 127 /* Install an inter-CP in cpu_mp_start() [all...] |
| /freebsd-src/sys/x86/include/ |
| H A D | apicvar.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 38 * 0xff (255) +----- [all...] |
| /freebsd-src/contrib/llvm-project/lld/COFF/ |
| H A D | TypeMerger.h | 1 //===- TypeMerger.h ---------------------------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 39 /// Get the ID table or the global ID table if /DEBUG:GHASH is enabled. 49 /// Map from PDB function id type indexes to PDB function type indexes. 56 /// Item records that will go into the PDB IPI stream. 59 // When showSummary is enabled, these are histograms of TPI and IPI records
|
| /freebsd-src/sys/amd64/vmm/io/ |
| H A D | vlapic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 62 #define x2apic(vlapic) (((vlapic)->msr_apicbase & APICBASE_X2APIC) ? 1 : 0) 65 * The 'vlapic->timer_mtx' is used to provide mutual exclusion between the 67 * - timer_freq_bt, timer_period_bt, timer_fire_bt 68 * - timer LVT register 70 #define VLAPIC_TIMER_LOCK(vlapic) mtx_lock_spin(&((vlapic)->timer_mt [all...] |
| /freebsd-src/sys/contrib/device-tree/Bindings/power/reset/ |
| H A D | xlnx,zynqmp-power.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/xlnx,zynqmp-power.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Michal Simek <michal.simek@amd.com> 13 The zynqmp-power node describes the power management configurations. 18 const: xlnx,zynqmp-power 28 that will be the phandle to the intended sub-mailbox 34 xlnx,zynqmp-ipi-mailbox.txt for typical controller that 37 - description: tx channel [all …]
|
| /freebsd-src/sys/riscv/include/ |
| H A D | sbi.h | 1 /*- 2 * Copyright (c) 2016-2017 Ruslan Bukin <br@bsdpad.com> 8 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme. 61 #define SBI_ERR_FAILURE -1 62 #define SBI_ERR_NOT_SUPPORTED -2 63 #define SBI_ERR_INVALID_PARAM -3 64 #define SBI_ERR_DENIED -4 65 #define SBI_ERR_INVALID_ADDRESS - 170 sbi_probe_extension(long id) sbi_probe_extension() argument [all...] |
| /freebsd-src/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | CompileUnitIndex.cpp | 1 //===-- CompileUnitIndex.cpp ----------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 66 // S_BUILDINFO just points to an LF_BUILDINFO in the IPI stream. Let's do in ParseBuildInfo() 68 LazyRandomTypeCollection &types = index.ipi().typeCollection(); in ParseBuildInfo() 71 if (!cvt || cvt->kind() != LF_BUILDINFO) in ParseBuildInfo() 122 item.m_inline_map[Line.Header->Inlinee] = Line; in ParseInlineeLineTableForCompileUnit() 128 PdbCompilandId id, llvm::pdb::ModuleDebugStreamRef debug_stream, in CompilandIndexItem() argument 130 : m_id(id), m_debug_stream(std::move(debug_stream)), in CompilandIndexItem() 136 return *result.first->second; in GetOrCreateCompiland() [all …]
|
| /freebsd-src/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | TypeDumpVisitor.h | 1 //===-- TypeDumpVisitor.h - CodeView type info dumper -----------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 34 /// When dumping types from an IPI stream in a PDB, a type index may refer to 35 /// a type or an item ID. The dumper will lookup the "name" of the index in 49 /// including the fixed-length record prefix. 70 /// is set, then we must be dumping an item (IPI) stream. This will also
|
| /freebsd-src/sys/contrib/device-tree/Bindings/interrupt-controller/ |
| H A D | mti,gic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/interrupt-controller/mti,gic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Paul Burton <paulburton@kernel.org> 11 - Thomas Bogendoerfer <tsbogend@alpha.franken.de> 15 It also supports local (per-processor) interrupts and software-generated 16 interrupts which can be used as IPIs. The GIC also includes a free-running 17 global timer, per-CPU count/compare timers, and a watchdog. 23 "#interrupt-cells": [all …]
|
| /freebsd-src/usr.bin/clang/llvm-pdbutil/ |
| H A D | llvm-pdbutil.1 | 4 .nr rst2man-indent-level 0 7 \\$1 \\n[an-margin] 8 level \\n[rst2man-indent-level] 9 level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] 10 - 11 \\n[rst2man-indent0] 12 \\n[rst2man-indent1] 13 \\n[rst2man-indent2] 18 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] 19 . nr rst2man-indent-level +1 [all …]
|