/freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
H A D | ARMAsmPrinter.cpp | 1 //===-- ARMAsmPrinter.cpp - Print machine code to an ARM .s file ----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // of machine-dependent LLVM code to GAS-format ARM assembly language. 12 //===----------------------------------------------------------------------===// 51 #define DEBUG_TYPE "asm-printer" 56 MCP(nullptr), InConstantPool(false), OptimizationGoals(-1) {} in ARMAsmPrinter() 64 OutStreamer->emitDataRegion(MCDR_DataRegionEnd); in emitFunctionBodyEnd() 68 if (AFI->isThumbFunction()) { in emitFunctionEntryLabel() 69 OutStreamer->emitAssemblerFlag(MCAF_Code16); in emitFunctionEntryLabel() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | ARMException.cpp | 1 //===-- CodeGen/AsmPrinter/ARMException.cpp - ARM EHABI Exception Impl ----===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 27 MCTargetStreamer &TS = *Asm->OutStreamer->getTargetStreamer(); in getTargetStreamer() 32 if (Asm->MAI->getExceptionHandlingType() == ExceptionHandling::ARM) in beginFunction() 35 AsmPrinter::CFISection CFISecType = Asm->getFunctionCFISectionType(*MF); in beginFunction() 37 "non-EH CFI not yet supported in prologue with EHABI lowering"); in beginFunction() 41 if (Asm->getModuleCFISectionType() == AsmPrinter::CFISection::Debug) in beginFunction() 42 Asm->OutStreamer->emitCFISections(false, true); in beginFunction() [all …]
|
/freebsd/sys/arm64/iommu/ |
H A D | smmureg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 8 * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the 40 #define IDR0_ST_LVL_2 (0x1 << IDR0_ST_LVL_S) /* 2-level Stream Table*/ 52 #define IDR0_CD2L (1 << 19) /* 2-level Context descriptor table*/ 53 #define IDR0_VMID16 (1 << 18) /* 16-bit VMID supported */ 54 #define IDR0_VMW (1 << 17) /* VMID wildcard-matching */ 55 #define IDR0_PRI (1 << 16) /* Page Request Interface supported*/ 57 #define IDR0_SEV (1 << 14) /* WFE wake-up events */ 59 #define IDR0_ASID16 (1 << 12) /* 16-bit ASID supported */ [all …]
|
H A D | smmu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2019-2020 Ruslan Bukin <br@bsdpad.com> 8 * Technology) under DARPA contract HR0011-18-C-0016 ("ECATS"), as part of the 39 * In case of PCI-based devices, StreamID is a PCI rid. 42 * which contains per-device configuration. 44 * Stream table is a linear or 2-level walk table (this driver supports both). 67 * Register interface and Memory-based circular buffer queues are used 79 * in a producer-consumer fashion so that an output queue contains data 143 #define Q_WRP(q, p) ((p) & (1 << (q)->size_log2)) [all …]
|
/freebsd/sys/amd64/vmm/amd/ |
H A D | amdvi_hw.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 63 #define MOD_DEC(a, s, m) (((a) - (s)) % ((m) * (s))) 85 /* XXX: ATS is not tested. */ 97 /* Page table level used <= supported by h/w[v1=7]. */ 127 return (pci_cfgregread(softc->pci_seg, PCI_RID2BUS(softc->pci_rid), in amdvi_pci_read() 128 PCI_RID2SLOT(softc->pci_rid), PCI_RID2FUNC(softc->pci_rid), in amdvi_pci_read() 135 * Check if device has ATS capability and its enabled. 136 * If ATS is absent or disabled, return (-1), otherwise ATS 144 int qlen = -1; in amdvi_find_ats_qlen() [all …]
|
H A D | amdvi_priv.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 40 ((1 << (((n) - (m)) + 1)) - 1)) 45 #define AMDVI_PCI_CAP_IOTLB BIT(0) /* IOTLB is supported. */ 57 #define AMDVI_EX_FEA_NXSUP BIT(3) /* No-execute. */ 68 * NOTE: Must be 256-bits/32 bytes aligned. 283 /* IVHD 8-byte extended data settings. */ 284 #define IVHD_DEV_EXT_ATS_DISABLE BIT(31) /* Disable ATS */ 318 /* Maximum number of domains supported by IOMMU. */ 319 #define AMDVI_MAX_DOMAIN (BIT(16) - 1) [all …]
|
H A D | ivrs_drv.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 52 device_t *ivhd_devs; /* IVHD or AMD-Vi device list. */ 77 if (ivrs->Header.Length == 0) { in ivrs_hdr_iterate_tbl() 82 end = (ACPI_IVRS_HEADER *)((char *)ivrs + ivrs->Header.Length); in ivrs_hdr_iterate_tbl() 85 if ((uint8_t *)ivrs_hdr + ivrs_hdr->Length > (uint8_t *)end) { in ivrs_hdr_iterate_tbl() 86 printf("AMD-Vi:IVHD/IVMD is corrupted, length : %d\n", in ivrs_hdr_iterate_tbl() 87 ivrs_hdr->Length); in ivrs_hdr_iterate_tbl() 91 switch (ivrs_hdr->Type) { in ivrs_hdr_iterate_tbl() 108 printf("AMD-Vi:Not IVHD/IVMD type(%d)", ivrs_hdr->Type); in ivrs_hdr_iterate_tbl() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pci/ |
H A D | host-generic-pci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/pci/host-generic-pci.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Will Deacon <will@kernel.org> 13 Firmware-initialised PCI host controllers and PCI emulations, such as the 14 virtio-pci implementations found in kvmtool and other para-virtualised 21 Configuration Space is assumed to be memory-mapped (as opposed to being 26 For CAM, this 24-bit offset is: 41 - description: [all …]
|
/freebsd/lib/libc/i386/gen/ |
H A D | sigsetjmp.S | 1 /*- 35 .asciz "$Id: sigsetjmp.S,v 1.1 1993/12/05 13:01:05 ats Exp $" 40 /*- 45 * the renamed functions (introduced in gcc-2.5.3; previous versions 46 * only supported *jmp with 0 or 1 leading underscores). 104 .section .note.GNU-stack,"",%progbits
|
/freebsd/lib/libc/amd64/gen/ |
H A D | sigsetjmp.S | 1 /*- 35 .asciz "$Id: sigsetjmp.S,v 1.1 1993/12/05 13:01:05 ats Exp $" 40 /*- 45 * the renamed functions (introduced in gcc-2.5.3; previous versions 46 * only supported *jmp with 0 or 1 leading underscores). 61 /* stack is 16-byte aligned */ 89 subq $0x8,%rsp /* make the stack 16-byte aligned */ 112 .section .note.GNU-stack,"",%progbits
|
/freebsd/contrib/tzcode/ |
H A D | zic.c | 5 ** 2006-07-17 by Arthur David Olson. 30 ZIC32_MIN = -1 - (zic_t) 0x7fffffff, 38 /* Minimum and maximum years, assuming signed 32-bit time_t. */ 73 /* The minimum alignment of a type, for pre-C23 platforms. 160 return -1; in readlink() 166 return -1; in symlink() 171 (errno = ENOTSUP, -1) 208 enum { PERCENT_Z_LEN_BOUND = sizeof "+995959" - 1 }; 324 (The "+"s pacify gcc -Wenum-compare.) */ 407 { "last-Sunday", TM_SUNDAY }, [all …]
|
/freebsd/sys/x86/iommu/ |
H A D | amd_reg.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 170 #define AMDIOMMU_CTRL_DUALPPRLOG_SWAP 0x0000000080000000ull /* Auto-swap on full */ 175 #define AMDIOMMU_CTRL_DUALEVNTLOG_SWAP 0x0000000200000000ull /* Auto-swap on full */ 269 #define AMDIOMMU_EFR2_SNPAVIC_MASK 0x00000000000000e0ull /* SNP-enabled Adv intr features */ 270 #define AMDIOMMU_EFR2_SNPAVIC_NO 0x0000000000000000ull /* No features supported */ 306 u_int sats:1; /* Secure/Non-secure ATS */ 311 uint64_t intrroot:46; /* Interrupt Table Root (-low 6bits) */ 314 u_int initpass:1; /* INIT pass-through */ 315 u_int eintpass:1; /* ExtInt pass-through */ [all …]
|
/freebsd/sys/contrib/device-tree/src/arm64/arm/ |
H A D | fvp-base-revc.dts | 1 // SPDX-License-Identifier: GPL-2.0 5 * Architecture Envelope Model (AEM) ARMv8-A 11 /dts-v1/; 13 #include <dt-bindings/interrupt-controller/arm-gic.h> 17 #include "rtsm_ve-motherboard.dtsi" 18 #include "rtsm_ve-motherboard-rs2.dtsi" 22 compatible = "arm,fvp-base-revc", "arm,vexpress"; 23 interrupt-parent = <&gic>; 24 #address-cells = <2>; 25 #size-cells = <2>; [all …]
|
/freebsd/contrib/sqlite3/autosetup/ |
H A D | proj.tcl | 13 # ----- @module proj.tcl ----- 14 # @section Project-agnostic Helper APIs 32 # despite this code having a handful of near-twins running around a 33 # handful of third-party source trees. 37 # - Symbols with _ separators are intended for internal use within 39 # rely on. Symbols with - separators are public APIs. 41 # - By and large, autosetup prefers to update global state with the 43 # --X. In this developer's opinion that (A) causes more confusion 47 # well-defined variables and leaves the integration of those values 50 # [1]: As an example: testing for the -rpath flag, using [all …]
|
/freebsd/sys/compat/freebsd32/ |
H A D | freebsd32_misc.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 136 FEATURE_ADD("compat_freebsd32", "Compatible with 32-bit FreeBSD"); in register_compat32_feature() 138 "Compatible with 32-bit FreeBSD (legacy feature name)"); in register_compat32_feature() 231 if (uap->rusage != NULL) in freebsd32_wait4() 235 error = kern_wait(td, uap->pid, &status, uap->options, rup); in freebsd32_wait4() 238 if (uap->status != NULL) in freebsd32_wait4() 239 error = copyout(&status, uap->status, sizeof(status)); in freebsd32_wait4() 240 if (uap->rusage != NULL && error == 0) { in freebsd32_wait4() 242 error = copyout(&ru32, uap->rusage, sizeof(ru32)); in freebsd32_wait4() [all …]
|
/freebsd/usr.sbin/pciconf/ |
H A D | cap.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 16 * 3. Neither the name of the author nor the names of any co-contributors 55 cap = read_config(fd, &p->pc_sel, ptr + PCIR_POWER_CAP, 2); in cap_power() 56 status = read_config(fd, &p->pc_sel, ptr + PCIR_POWER_STATUS, 2); in cap_power() 69 status = read_config(fd, &p->pc_sel, ptr + AGP_STATUS, 4); in cap_agp() 70 command = read_config(fd, &p->pc_se in cap_agp() [all...] |
/freebsd/crypto/openssl/ |
H A D | CHANGES.md | 4 This is a detailed breakdown of significant changes. For a high-level overview 13 ---------------- 15 - [OpenSSL 3.5](#openssl-35) 16 - [OpenSSL 3.4](#openssl-34) 17 - [OpenSSL 3.3](#openssl-33) 18 - [OpenSSL 3.2](#openssl-32) 19 - [OpenSSL 3.1](#openssl-31) 20 - [OpenSSL 3.0](#openssl-30) 21 - [OpenSSL 1.1.1](#openssl-111) 22 - [OpenSSL 1.1.0](#openssl-110) [all …]
|
/freebsd/sys/contrib/dev/acpica/include/ |
H A D | actbl2.h | 3 * Name: actbl2.h - ACPI Table Definitions 11 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 198 #define ACPI_SIG_RHCT "RHCT" /* RISC-V Hart Capabilities Table */ 199 #define ACPI_SIG_RIMT "RIMT" /* RISC-V IO Mapping Table */ 209 * All tables must be byte-packed to match the ACPI specification, since [all …]
|
H A D | actbl1.h | 3 * Name: actbl1.h - Additional ACPI table definitions 11 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 214 * All tables must be byte-packed to match the ACPI specification, since 224 * essentially useless for dealing with packed data in on-disk formats or 275 * ASF - Alert Standard Format table (Signature "ASF!") [all …]
|
/freebsd/sys/contrib/dev/acpica/common/ |
H A D | dmtable.c | 3 * Module Name: dmtable - Support for ACPI tables that contain no AML code 11 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 158 /* This module used for application-level code only */ 191 "Vendor-defined Error Node", 271 "Root Port ATS Capability", [all …]
|
H A D | dmtbinfo1.c | 3 * Module Name: dmtbinfo1 - Table info for non-AML tables 11 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 157 /* This module used for application-level code only */ 165 * - Add the C table definition to the actbl1.h or actbl2.h header. 166 * - Add ACPI_xxxx_OFFSET macro(s) for the table (and subtables) to list below. [all …]
|
/freebsd/sys/contrib/alpine-hal/ |
H A D | al_hal_pcie.c | 1 /*- 10 found at http://www.gnu.org/licenses/gpl-2.0.html 72 /** RC - Revisions 1/2 */ 77 /** EP - Revisions 1/2 */ 82 /** RC - Revision 3 */ 87 /** EP - Revision 3 */ 96 #define AL_PCIE_PARSE_LANES(v) (((1 << v) - 1) << \ 113 al_reg_write32(&pcie_port->regs->port_regs->rd_only_wr_en, in al_pcie_port_wr_to_ro_set() 131 (pcie_port->rev_id == AL_PCIE_REV_ID_3) ? 0x4000 : 0x1000; in al_reg_write32_dbi_cs2() 154 struct al_pcie_regs *regs = pcie_port->regs; in al_pcie_port_link_speed_ctrl_set() [all …]
|
/freebsd/usr.sbin/newsyslog/ |
H A D | newsyslog.c | 1 /*- 2 * ------+---------+---------+-------- + --------+---------+---------+---------* 4 * Copyright (c) 2003, 2004 - Garance Alistair Drosehn <gad@FreeBSD.org>. 28 * ------+---------+---------+-------- + --------+---------+---------+---------* 52 * newsyslog - roll over selected logs at the appropriate time, keeping the a 100 COMPRESS_TYPES = COMPRESS_LEGACY /* Number of supported compression types */ 104 * Bit-values for the 'flags' parsed from a config-file entry. 112 #define CE_SIGNALGROUP 0x0080 /* Signal a process-group instead of a single */ 143 static const char *gzip_flags[] = { "-f" }; 146 static const char *zstd_flags[] = { "-q", "-T0", "--adapt", "--long", "--rm" }; [all …]
|
/freebsd/sys/dev/firewire/ |
H A D | fwohci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-4-Clause 5 * Copyright (c) 1998-2002 Katsushi Kobayashi and Hidetoshi Shimokawa 121 #define OWRITE(sc, r, x) bus_space_write_4((sc)->bst, (sc)->bsh, (r), (x)) 122 #define OREAD(sc, r) bus_space_read_4((sc)->bst, (sc)->bsh, (r)) 299 device_printf(sc->fc.dev, "%s: %d->%d (loop=%d)\n", in fwohci_set_bus_manager() 324 device_printf(sc->fc.dev, "%s: failed(1).\n", __func__); in fwphy_rddata() 335 device_printf(sc->fc.dev, "%s: failed(2).\n", __func__); in fwphy_rddata() 342 device_printf(sc->fc.dev, in fwphy_rddata() 364 fc = (struct fwohci_softc *)sc->fc; in fwohci_ioctl() [all …]
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | reg_addr.h | 2 * Copyright (c) 2017-2018 Cavium, Inc. 78 …- For ending "endless completion". 0 - When receiving a completion timeout while receiving a compl… 79 … DataWidth:0x4 // 0 - TXCPL sync fifo pop underflow 1 - TXR sync fifo pop underflow 2 - TXW hea… 80 …s:R DataWidth:0x6 // 0 - RX target read and config sync fifo push overflow 1 - RX header syn… 81 …ataWidth:0x14 // 4:0 - TXCPL sync fifo pop status 9:5 - TXR sync fifo pop status 14:10 - TXW hea… 88 …ffff<<0) // Vendor ID. PCI-SIG assigned Manufacturer Identifier. Note: The access attributes of … 90 …ce Identifier. Note: The access attributes of this field are as follows: - Dbi: if (DBI_RO_WR_E… 98 … (0x1<<0) // I/O space access enable. There are no I/O BARs supported. 116 … (0x1<<9) // Fast back-to-back transaction ena… 128 … (0x1<<23) // Fast back-to-back capable. Not ap… [all …]
|