/freebsd/lib/libc/tests/sys/ |
H A D | sendfile_test.c | 1 /*- 43 #include <atf-c.h> 54 static int portrange_first, portrange_last; 56 static int 71 static int 89 random_port = rand() % (portrange_last - portrange_first) + in generate_random_port() 96 static void 129 static int 135 ATF_REQUIRE_MSG(sock != -1, "socket(%d, %d, 0) failed: %s", in make_socket() 141 static int [all …]
|
/freebsd/usr.sbin/binmiscctl/ |
H A D | binmiscctl.8 | 1 .\"- 38 .Fl -interpreter 40 .Fl -magic 42 .Fl -size 44 .Op Fl -mask Ar mask 45 .Op Fl -offset Ar offset 46 .Op Fl -set-enabled 47 .Op Fl -pre-open 76 .Bl -tag -width indent 80 .Fl -interpreter [all …]
|
/freebsd/crypto/libecc/scripts/ |
H A D | crossrun.sh | 2 # * Copyright (C) 2017 - This file is part of libecc project 7 # * Jean-Pierre FLORI <jean-pierre.flori@ssi.gouv.fr> 22 …-apple-darwin" ] && [ "$triplet" != "x86_64-apple-darwin" ] && [ "$triplet" != "x86_64h-apple-darw… 23 echo " [X] Using QEMU static" 28 …if [ "$triplet" = "i386-apple-darwin" ] || [ "$triplet" = "x86_64-apple-darwin" ] || [ "$triplet" … 29 echo " [X] Testing MAC-OS binaries is futur work!" 31 if [ "$triplet" = "i686-w64-mingw32" ] || [ "$triplet" = "x86_64-w64-mingw32" ]; then 41 echo "$0 uses qemu-static and wine to run self tests" 45 echo "arm-linux-gnueabi / arm-linux-gnueabihf / powerpc64le-linux-gnu / aarch64-linux-gnu /" 46 …echo "mipsel-linux-gnu / i386-apple-darwin / x86_64-apple-darwin / i686-w64-mingw32 / x86_64-w64-m… [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | qemu_fwcfg.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 40 IOPORT_F_INOUT /* QEMU v2.4+ ignores writes */ 106 static struct qemu_fwcfg_softc fwcfg_sc; 114 static STAILQ_HEAD(qemu_fwcfg_user_file_list, 118 static int 126 return (-1); in qemu_fwcfg_selector_port_handler() 140 static int 148 return (-1); in qemu_fwcfg_data_port_handler() 152 warnx("%s: Writes to qemu fwcfg data port aren't allowed", in qemu_fwcfg_data_port_handler() [all …]
|
H A D | tpm_ppi_qemu.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause-FreeBSD 32 #define TPM_PPI_QEMU_NAME "qemu" 55 static int 64 if ((addr & (size - 1)) != 0) { in tpm_ppi_mem_handler() 71 off = addr - TPM_PPI_ADDRESS; in tpm_ppi_mem_handler() 88 static struct mem_range ppi_mmio = { 89 .name = "ppi-mmio", 96 static int 117 fwcfg->ppi_address = htole32(TPM_PPI_ADDRESS); in tpm_ppi_init() [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/ |
H A D | PlatformQemuUser.cpp | 1 //===-- PlatformQemuUser.cpp -------- 165 FileSpec qemu = GetGlobalProperties().GetEmulatorPath(); DebugProcess() local [all...] |
H A D | PlatformQemuUser.h | 1 //===-- PlatformQemuUser.h ------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 20 static void Initialize(); 21 static void Terminate(); 23 static llvm::StringRef GetPluginNameStatic() { return "qemu-user"; } in GetPluginNameStatic() 24 static llvm::StringRef GetPluginDescriptionStatic(); 68 return Platform::GetHostPlatform()->GetMmapArgumentList( in GetMmapArgumentList() 73 static lldb::PlatformSP CreateInstance(bool force, const ArchSpec *arch); 74 static void DebuggerInitialize(Debugger &debugger);
|
/freebsd/sys/contrib/zstd/ |
H A D | Makefile | 2 # Copyright (c) 2015-2021, Yann Collet, Facebook, Inc. 5 # This source code is licensed under both the BSD-style license (found in the 8 # You may select, at your option, one of the above-listed licenses. 24 # When cross-compiling from linux to windows, you might 28 # Note: mingw-w64 build from linux to windows does not 40 ## default: Build lib-release and zstd-release 42 default: lib-release zstd-release 53 $(Q)$(MAKE) -C $(PRGDIR) all 54 $(Q)$(MAKE) -C $(TESTDIR) all 58 $(MAKE) -C $(PRGDIR) zstd32 [all …]
|
/freebsd/release/ |
H A D | Makefile.vm | 7 VMTARGETS= vm-image 19 VHD_DESC= Azure, VirtualPC, Hyper-V, Xen disk image 21 QCOW2_DESC= Qemu, KVM disk image 25 BASIC-CI \ 26 BASIC-CLOUDINIT \ 34 BASIC-CI_FORMAT= raw 35 BASIC-CI_FSLIST?= ufs 36 BASIC-CI_DESC= Image for CI 37 BASIC-CLOUDINIT_FORMAT= raw qcow2 38 BASIC-CLOUDINIT_FSLIST?= ufs zfs [all …]
|
/freebsd/crypto/openssl/ |
H A D | NOTES-ANDROID.md | 5 ------------------- 15 ------------- 17 Android is a cross-compiled target and you can't rely on `./Configure` 19 target explicitly; there are `android-arm`, `android-arm64`, `android-mips`, 20 `android-mip64`, `android-x86` and `android-x86_64` (`*MIPS` targets are no 23 Do not pass --cross-compile-prefix (as you might be tempted), as it 30 to point at the `NDK` directory. If you're using a side-by-side NDK the path 31 will look something like `/some/where/android-sdk/ndk/<ver>`, and for a 32 standalone NDK the path will be something like `/some/where/android-ndk-<ver>`. 34 The NDK customarily supports multiple Android API levels, e.g. `android-14`, [all …]
|
/freebsd/crypto/libecc/.github/workflows/ |
H A D | libecc_crossarch_tests.yml | 8 runs-on: ubuntu-20.04 10 #max-parallel: 10 15 …-linux-gnueabi, arm-linux-gnueabihf, aarch64-linux-gnu, powerpc64le-linux-gnu, mipsel-linux-gnu, i… 16 …_target: [arm-linux-gnueabi, arm-linux-gnueabihf, aarch64-linux-gnu, powerpc64le-linux-gnu, mipsel… 20 - name: Set Swap Space 21 uses: pierotofy/set-swap-space@master 23 swap-size-gb: 10 25 - name: checkout repository 29 - name: libecc cross-arch tests 40 sudo apt-get update; [all …]
|
/freebsd/contrib/arm-optimized-routines/ |
H A D | config.mk.dist | 3 # Copyright (c) 2018-2024, Arm Limited. 4 # SPDX-License-Identifier: MIT OR Apache-2.0 WITH LLVM-exception 13 #CROSS_COMPILE = aarch64-none-linux-gnu- 17 CFLAGS = -std=c99 -pipe -O3 18 CFLAGS += -Wall -Wno-missing-braces 19 CFLAGS += -Werror=implicit-function-declaration 23 HOST_CFLAGS = -std=c99 -O2 24 HOST_CFLAGS += -Wall -Wno-unused-function 27 HOST_CFLAGS += -g 28 CFLAGS += -g [all …]
|
/freebsd/sys/fs/p9fs/ |
H A D | p9_client.c | 1 /*- 54 static MALLOC_DEFINE(M_P9CLNT, "p9_client", "p9fs client structure"); 55 static uma_zone_t p9fs_fid_zone; 56 static uma_zone_t p9fs_req_zone; 57 static uma_zone_t p9fs_buf_zone; 64 static struct p9_req_t *p9_get_request(struct p9_client *c, int *error); 65 static struct p9_req_t *p9_client_request( 72 return (clnt->proto_version == p9_proto_2000L); in p9_is_proto_dotl() 79 return (clnt->proto_version == p9_proto_2000u); in p9_is_proto_dotu() 83 static int [all …]
|
H A D | p9fs_vfsops.c | 1 /*- 2 * Copyright (c) 2017-2020 Juniper Networks, Inc. 49 /* This count is static now. Can be made tunable later */ 52 static MALLOC_DEFINE(M_P9MNT, "p9fs_mount", "Mount structures for p9fs"); 53 static uma_zone_t p9fs_node_zone; 61 static const char *p9fs_opts[] = { 77 if (node->parent && node->parent != node) { in p9fs_dispose_node() 78 vrele(P9FS_NTOV(node->parent)); in p9fs_dispose_node() 84 vp->v_data = NULL; in p9fs_dispose_node() 87 if (!(vp->v_vflag & VV_ROOT)) { in p9fs_dispose_node() [all …]
|
/freebsd/sys/arm64/arm64/ |
H A D | undefined.c | 1 /*- 6 * Cambridge Computer Laboratory under DARPA/AFRL contract FA8750-10-C-0237 74 static bool compat32_emul_swp = EMUL_SWP; 92 * Work around a bug in QEMU prior to 2.5.1 where reading unknown ID 95 static int 108 frame->tf_elr += INSN_SIZE; in id_aa64mmfr2_handler() 109 if (reg < nitems(frame->tf_x)) { in id_aa64mmfr2_handler() 110 frame->tf_x[reg] = 0; in id_aa64mmfr2_handler() 112 frame->tf_lr = 0; in id_aa64mmfr2_handler() 121 static bool [all …]
|
/freebsd/crypto/libecc/ |
H A D | .travis.yml | 4 - bionic 9 …- secure: "jhz0JLrLjWABZfT/mWiwuddUMvJNdrkIWJEqFGtGLO/x/nbiFD8ooHl/Sb+JSOsr8obXYMVmO+7ubTOLeqAbfaq… 12 …- echo -n | openssl s_client -connect https://scan.coverity.com:443 | sed -ne '/-BEGIN CERTIFICATE… 19 - make 20 - gcc 21 - clang 22 - qemu-user-static 23 - wine-stable 24 - wine32 25 - wine64 [all …]
|
/freebsd/usr.sbin/bhyve/amd64/ |
H A D | e820.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 54 static TAILQ_HEAD(e820_table, e820_element) e820_table = TAILQ_HEAD_INITIALIZER( 57 static struct e820_element * 67 element->base = base; in e820_element_alloc() 68 element->end = end; in e820_element_alloc() 69 element->type = type; in e820_element_alloc() 74 static const char * 102 element->base, element->end, in e820_dump_table() 103 e820_get_type_name(element->type)); in e820_dump_table() [all …]
|
/freebsd/sys/arm/arm/ |
H A D | debug_monitor.c | 64 static int dbg_reset_state(void); 65 static int dbg_setup_breakpoint(db_expr_t, db_expr_t, u_int); 66 static int dbg_remove_breakpoint(u_int); 67 static u_int dbg_find_slot(enum dbg_t, db_expr_t); 68 static boolean_t dbg_check_slot_free(enum dbg_t, u_int); 70 static int dbg_remove_xpoint(struct dbg_wb_conf *); 71 static int dbg_setup_xpoint(struct dbg_wb_conf *); 73 static int dbg_capable_var; /* Indicates that machine is capable of using 76 static uint32_t dbg_model; /* Debug Arch. Model */ 77 static boolean_t dbg_ossr; /* OS Save and Restore implemented */ [all …]
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_hpet.c | 1 /*- 2 * Copyright (c) 2005 Poul-Henning Kamp 119 static d_open_t hpet_open; 120 static d_mmap_t hpet_mmap; 122 static struct cdevsw hpet_cdevsw = { 129 static u_int hpet_get_timecount(struct timecounter *tc); 130 static void hpet_test(struct hpet_softc *sc); 132 static char *hpet_ids[] = { "PNP0103", NULL }; 137 static u_int 142 sc = tc->tc_priv; in hpet_get_timecount() [all …]
|
/freebsd/contrib/lib9p/backend/ |
H A D | fs.c | 29 * Based on libixp code: �2007-2010 Kris Maglione <maglione.k at Gmail> 104 /* FF_NO_POSIX_ACL 0x02 -- not yet */ 109 * - a reference count 110 * - a uid 111 * - a gid-set 113 * The "default" gid is the first gid in the git-set, provided the 114 * set size is at least 1. The set-size may be zero, though. 116 * Adjustments to the ref-count must be atomic, once it's shared. 123 * If this gid is (gid_t)-1 it is not used and only the remaining 126 * The uid may also be (uid_t)-1, meaning "no uid was available [all …]
|
/freebsd/contrib/llvm-project/libunwind/src/ |
H A D | UnwindCursor.hpp | 1 //===----------------------------------------------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 9 //===----------------------------------------------------------------------===// 25 #include <mach-o/dyld.h> 52 #include "Unwind-EHABI.h" 57 // MinGW-w64 has always provided this struct. 99 static constexpr pint_t kSearchAll = static_cast<pint_t>(-1); 100 static pint_t findFDE(pint_t mh, pint_t pc); 101 static void add(pint_t mh, pint_t ip_start, pint_t ip_end, pint_t fde); 102 static void removeAllIn(pint_t mh); [all …]
|
/freebsd/sys/dev/ixgbe/ |
H A D | if_ixv.c | 3 Copyright (c) 2001-2017, Intel Corporation 48 static const char ixv_driver_version[] = "2.0.1-k"; 59 static const pci_vendor_info_t ixv_vendor_info_array[] = 78 static void *ixv_register(device_t); 79 static int ixv_if_attach_pre(if_ctx_t); 80 static int ixv_if_attach_post(if_ctx_t); 81 static int ixv_if_detach(if_ctx_t); 83 static int ixv_if_rx_queue_intr_enable(if_ctx_t, uint16_t); 84 static int ixv_if_tx_queues_alloc(if_ctx_t, caddr_t *, uint64_t *, int, 86 static int ixv_if_rx_queues_alloc(if_ctx_t, caddr_t *, uint64_t *, int, [all …]
|
/freebsd/ |
H A D | UPDATING | 1 Updating Information for users of FreeBSD-CURRENT. 9 https://docs.freebsd.org/en/books/handbook/cutting-edge/#makeworld 22 includes various WITNESS- related kernel options, INVARIANTS, malloc 28 at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 39 to install the FreeBSD-firmware-iwm package. 60 The build now defaults to WITHOUT_CLEAN - i.e., no automatic clean 66 freebsd-current mailing list so that a special-case dependency can be 74 uart1: non-PNP ISA device will be removed from GENERIC in FreeBSD 15. 89 package FreeBSD-audit. If you use OpenBSM auditing and pkgbase, you 90 should install FreeBSD-audit. [all …]
|
/freebsd/contrib/libpcap/ |
H A D | CHANGES | 5 Mark pcap_vasprintf() as printf-like. 16 Avoid casting hack for the Windows cleanup-on-exit routine. 21 Remove the unused pcap-rpcap-int.h header file. 23 Make some static variables thread-local; fixes issue #1174. 36 Avoid 32-bit unsigned integer overflow in USB captures. Fixes 49 Report {non-existent zone}/{interface} errors appropriately. 50 Allow attaching to links owned by a non-global zone. (Based on 55 in recent SDKs, including tagging pcap-namedb.h routines. 63 Report non-existent devices correctly. 89 CVE-2023-7256: Clean up sock_initaddress() and its callers to avoid [all …]
|
/freebsd/share/misc/ |
H A D | pci_vendors | 5 # Date: 2024-11-25 03:15:02 8 # the PCI ID Project at https://pci-ids.ucw.cz/. 14 # (version 2 or higher) or the 3-clause BSD License. 25 # device device_name <-- single tab 26 # subvendor subdevice subsystem_name <-- two tabs 30 # This is a relabelled RTL-8139 31 8139 AT-2500TX V3 Ethernet 41 7a09 PCI-to-PCI Bridge 50 7a19 PCI-to-PCI Bridge 55 7a29 PCI-to-PCI Bridge [all …]
|