/freebsd/sys/contrib/openzfs/.github/workflows/ |
H A D | zfs-qemu.yml | 1 name: zfs-qemu 20 group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} 21 cancel-in-progress: true 24 test-config: 26 runs-on: ubuntu-24.04 31 - uses: actions/checkout@v4 33 fetch-depth: 0 34 - name: Generate OS config and CI type 37 …ebian12", "fedora40", "fedora41", "freebsd13-3r", "freebsd13-4s", "freebsd14-1r", "freebsd14-2s", … 38 …_OS='["almalinux8", "almalinux9", "debian12", "fedora41", "freebsd13-3r", "freebsd14-2r", "ubuntu2… [all …]
|
/freebsd/tools/boot/ |
H A D | full-test.readme | 4 ~/stand-test-root/cache. You can find the tarball at 8 (2) The latest qemu-system-aarch64 (I think ports/pkg version of emulators/qemu 9 is recent enough). If not, I know the latest master of qemu project works. 12 architectures that I build. You can hack the ARCHES line near the top of 13 tools/boot/full-test.sh if need be, but you'll need at least amd64, arm64 and 17 (4) Build the kernel for at least arm64 and use it as an 'override'. I do this 18 by sudo -E make installkernel 19 DESTDIR=$HOME/stand-test-root/override/arm64-aarch64 TARGET=arm64 after 24 (5) You'll need to build the images. If you've done 1-5 correctly (and I've not 25 missed anything), then "cd <mumble>/src; sh tools/boot/full-test.sh" will create [all …]
|
H A D | full-test.sh | 4 # cache - Cached binaries that we have downloaded 5 # trees - binary trees that we use to make image 7 # images - bootable images that we use to test 9 # bios - cached bios images (as well as 'vars' files when we start testing 11 # scripts - generated scripts that uses images to run the tests. 16 # use qemu-system-XXXX to boot. They all boot the same thing at the moment: 23 # eg https://download.freebsd.org/releases/amd64/amd64/ISO-IMAGES/13.1/FreeBSD-13.1-RELEASE-amd64-b… 25 : ${STAND_ROOT:="${HOME}/stand-test-root"} 33 # hack -- I have extra junk in my qemu, but it's not needed to recreate things 35 qemu_bin=/home/imp/git/qemu/00-build [all …]
|
/freebsd/tools/tools/nanobsd/embedded/ |
H A D | common | 2 #- 4 # Copyright (c) 2010-2011 iXsystems, Inc. 40 # o mtools still needed because we have no makefs -t msdos 51 # o documentation for how to run the qemu images 54 # o qemu image for aarch64 55 # o qemu image for armv7 58 # o uses old kludge to build image w/o ownership being right 59 # for many files. Should move to mtree-dedup.awk. 64 # o common tooling for creating images for odd-ball platforms 70 if [ -z $NANO_NAME ]; then [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/stand/kboot/ |
H A D | README | 4 (2) mkdir -p .../initrd/boot/defaults 6 (4) Copy kernel to .../initrd/boot/kernel 9 (7) find . | sort | cpio -o -H newc | gzip > /tmp/initrd.cpio 10 (8) download or build your linux kernel 11 (9) qemu-system-x86_64 -kernel ~/vmlinuz-5.19.0-051900-generic \ 12 -initrd /tmp/initrd.cpio \ 13 -m 256m -nographic \ 14 -monitor telnet::4444,server,nowait -serial stdio \ 15 -append "console=ttyS0" 28 For #8, see https://kernel.ubuntu.com/~kernel-ppa/mainline/ to download [all …]
|
/freebsd/sys/riscv/conf/ |
H A D | NOTES | 2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs. 11 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 23 # RISC-V SBI console 41 # NOTE: dtrace introduces CDDL-licensed components into the kernel 47 device uart_ns8250 # ns8250-type UART driver 51 device goldfish_rtc # QEMU RTC 62 device xilinx_spi # Xilinx AXI Quad-SPI Controller 93 # Don't yet have hwpmc(4) [all...] |
H A D | GENERIC | 2 # GENERIC -- Generic kernel configuration file for FreeBSD/RISC-V 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 23 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 42 options UFS_GJOURNAL # Enable gjournal-based UFS journaling 51 options PSEUDOFS # Pseudo-filesystem framework 61 options SYSVSHM # SYSV-style shared memory 62 options SYSVMSG # SYSV-style message queues 63 options SYSVSEM # SYSV-style semaphores 64 options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions 67 # options HWPMC_HOOKS # Necessary kernel hooks for hwpmc(4) [all …]
|
/freebsd/sys/powerpc/conf/ |
H A D | GENERIC64LE | 2 # GENERIC64LE -- Generic kernel configuration file for FreeBSD/powerpc64le 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 30 options QEMU # QEMU processor emulator 31 options PSERIES # PAPR-compliant systems (e.g. IBM p) 32 options POWERNV # Non-virtualized OpenPOWER systems 37 options NUMA # Non-Unifor [all...] |
H A D | GENERIC64 | 2 # GENERIC64 -- Generic kernel configuration file for FreeBSD/powerpc64 7 # https://docs.freebsd.org/en/books/handbook/kernelconfig/#kernelconfig-config 25 makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols 32 options QEMU # QEMU processor emulator 33 options PSERIES # PAPR-compliant systems (e.g. IBM p) 34 options POWERNV # Non-virtualized OpenPOWER systems 38 options NUMA # Non-Unifor [all...] |
/freebsd/contrib/file/magic/Magdir/ |
H A D | intel | 2 #------------------------------------------------------------------------------ 11 # whatever comes next (HP-PA Hummingbird?). OS/2 may also go elsewhere 14 # The `versions' should be un-commented if they work for you. 17 0 leshort 0502 basic-16 executable 19 #>22 leshort >0 - version %d 20 0 leshort 0503 basic-16 executable (TV) 22 #>22 leshort >0 - version %d 29 #>22 leshort >0 - version %d 32 #>22 leshort >0 - version %d 38 # SGI labeled the next entry as "iAPX 386 executable" --Dan Quinlan [all …]
|
/freebsd/share/man/man7/ |
H A D | build.7 | 1 .\"- 2 .\" SPDX-License-Identifier: BSD-2-Clause 32 .Nm build 33 .Nd general instructions on how to build the 45 These directories may be initially empty or non-existent until updated with 65 For more information about the ports build process, see 70 command is used in each of these directories to build and install the 80 A source tree is allowed to be read-only. 95 The build may be controlled by defining 102 The default components included in the build are specified in the file [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | bhyverun.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 126 * The acceptance of a null specification ('-c ""') is by design to match the 144 errx(4, "Failed to allocate memory"); in bhyve_topology_parse() 165 return (-1); in bhyve_topology_parse() 178 errx(4, "Invalid value for %s: '%s'", key, value); in parse_int_value() 226 errx(4, "Computed number of vCPUs too high: %ju", in calc_topology() 231 errx(4, "Topology (%d sockets, %d cores, %d threads) " in calc_topology() 249 return (-1); in bhyve_pincpu_parse() 254 return (-1); in bhyve_pincpu_parse() [all …]
|
/freebsd/ |
H A D | Makefile | 3 # The common user-driven targets are (for a complete list, see build(7)): 5 # universe - *Really* build *everything* (buildworld and 7 # MAKE_JUST_KERNELS or WITHOUT_WORLDS to only build kernels, 8 # MAKE_JUST_WORLDS or WITHOUT_KERNELS to only build userland. 9 # tinderbox - Same as universe, but presents a list of failed build 11 # worlds - Same as universe, except just makes the worlds. 12 # kernels - Same as universe, except just makes the kernels. 13 # buildworld - Rebuild *everything*, including glue to help do 15 # installworld - Install everything built by "buildworld". 16 # world - buildworld + installworld, no kernel. [all …]
|
H A D | Makefile | 3 # The common user-driven targets are (for a complete list, see build(7)): 5 # universe - *Really* build *everything* (buildworld and 7 # MAKE_JUST_KERNELS or WITHOUT_WORLDS to only build kernels, 8 # MAKE_JUST_WORLDS or WITHOUT_KERNELS to only build userland. 9 # tinderbox - Same as universe, but presents a list of failed build 11 # worlds - Same as universe, except just makes the worlds. 12 # kernels - Sam [all...] |
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 24 kernel. Many developers choose to disable these features on build 28 at runtime, run "ln -s 'abort:false,junk:false' /etc/malloc.conf".) 33 different transport - netlink(4) socket instead of unix(4). Users of 61 The iwm(4) firmwares are no longer compiled as kernel modules but instead 62 shipped as raw files. For pkgbase users if you use iwm(4) yo [all...] |
H A D | Makefile.inc1 | 4 # -DNO_CLEANDIR run ${MAKE} clean, instead of ${MAKE} cleandir 5 # -DNO_CLEAN do not clean at all 6 # -DDB_FROM_SRC use the user/group databases in src/etc instead of 8 # -DNO_SHARE do not go into share subdir 9 # -DKERNFAST define NO_KERNEL{CONFIG,CLEAN,OBJ} 10 # -DNO_KERNELCONFIG do not run config in ${MAKE} buildkernel 11 # -DNO_KERNELCLEAN do not run ${MAKE} clean in ${MAKE} buildkernel 12 # -DNO_KERNELOBJ do not run ${MAKE} obj in ${MAKE} buildkernel 13 # -DNO_ROOT install without using root privilege 14 # -DWITHOUT_CTF do not run the DTrace CTF conversion tools on built objects [all …]
|
/freebsd/contrib/atf/ |
H A D | NEWS | 8 DON'T FORGET TO BUMP THE -version-info PRE-RELEASE IF NECESSARY! 10 * Issue #23: Fix double-free triggered by atf_map_insert in low memory 18 * Added the atf_check_not_equal function to atf-sh to check for 30 * Added the -s flag to atf-sh to support specifying the shell interpreter 39 relevant manual pages. This information was lost with the atf-config(1) 46 * Renamed the atf-{c,c++,sh}-api(3) manual pages to atf-{c,c++,sh}(3) for 53 * Issue #7: Stopped catching unhandled exceptions in atf-c++ tests. This 58 * Issue #8: Fixed atf-c/macros_test:use test failures spotted by the clang 59 that ships with FreeBSD 11.0-CURRENT. 61 * Issue #12: Improved documentation of atf-sh(3) and atf-check(1) by better [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. 62 Fix various build problems. Fixes issue #1114. 63 Report non-existent devices correctly. [all …]
|
/freebsd/sys/conf/ |
H A D | NOTES | 2 # NOTES -- Lines that can be cut/pasted into kernel and hints configs. 11 # Please use ``make LINT'' to create an old-style LINT file if you want to 12 # do kernel test-builds. 48 # auto-size based on physical memory. 63 # generated Makefile in the build area. 66 # after most other flags. Here we use it to inhibit use of non-optimal 67 # gcc built-in functions (e.g., memcmp). 70 # The following is equivalent to 'config -g KERNELNAME' and creates 71 # 'kernel.debug' compiled with -g debugging as well as a normal 81 makeoptions CONF_CFLAGS=-fno-builtin #Don't allow use of memcmp, etc. [all …]
|
/freebsd/contrib/file/src/ |
H A D | readelf.c | 55 #define ELF_ALIGN(a) ((((a) + align - 1) / align) * align) 64 #define SIZE_UNKNOWN CAST(off_t, -1) 71 if (ms->flags & MAGIC_MIME) in toomany() 73 if (file_printf(ms, ", too many %s (%u)", name, num) == -1) in toomany() 74 return -1; in toomany() 102 char c[4]; in getu32() 132 retval.c[3] = tmpval.c[4]; in getu64() 133 retval.c[4] = tmpval.c[3]; in getu64() 180 elf_getu32(swap, ph32.p_align) : 4))\ 182 elf_getu64(swap, ph64.p_align) : 4)))) [all …]
|
/freebsd/contrib/file/ |
H A D | ChangeLog | 1 2024-11-27 14:44 Christos Zoulas <christos@zoulas.com> 6 2024-11-25 13:56 Christos Zoulas <christos@zoulas.com> 10 2024-11-10 13:56 Christos Zoulas <christos@zoulas.com> 14 offset that the "use" starts so that we don't double-count it. 17 2024-11-09 19:30 Christos Zoulas <christos@zoulas.com> 21 2024-11-02 14:34 Christos Zoulas <christos@zoulas.com> 25 2023-12-29 12:55 Christos Zoulas <christos@zoulas.com> 29 2023-07-29 12:55 Christos Zoulas <christos@zoulas.com> 33 2023-07-27 15:45 Christos Zoulas <christos@zoulas.com> 37 2023-07-17 11:53 Christos Zoulas <christos@zoulas.com> [all …]
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationClient.cpp | 1 //===-- GDBRemoteCommunicationClient.cpp ----------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 61 : GDBRemoteClientBase("gdb-remote.client"), in GDBRemoteCommunicationClient() 103 std::chrono::duration<double>(end_of_handshake - start_of_handshake) in HandshakeWithServer() 107 error_ptr->SetErrorString("Connection shut down by remote side " in HandshakeWithServer() 111 error_ptr->SetErrorStringWithFormat( in HandshakeWithServer() 119 error_ptr->SetErrorString("failed to send the handshake ack"); in HandshakeWithServer() 353 // build the qSupported packet in GetRemoteQSupported() 355 "multiprocess+", "fork-events+", in GetRemoteQSupported() [all …]
|
/freebsd/sys/dev/pci/ |
H A D | pci.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 88 (((cfg)->hdrtype == PCIM_HDRTYPE_NORMAL && reg == PCIR_BIOS) || \ 89 ((cfg)->hdrtype == PCIM_HDRTYPE_BRIDGE && reg == PCIR_BIOS_1)) 237 #define PCI_QUIRK_DISABLE_MSI 2 /* Neither MSI nor MSI-X work */ 239 #define PCI_QUIRK_UNMAP_REG 4 /* Ignore PCI map register */ 240 #define PCI_QUIRK_DISABLE_MSIX 5 /* MSI- [all...] |