/freebsd/crypto/openssl/crypto/sha/asm/ |
H A D | sha1-c64xplus.pl | 2 # Copyright 2012-2020 The OpenSSL Project Authors. All Rights Reserved. 21 # If compared to compiler-generated code with similar characteristics, 32 # service routines are expected to preserve it and for own well-being 60 .asg MV,SWAP2 61 .asg MV,SWAP4 67 MV $NUM,A0 ; reassign $NUM 68 || MVK -64,B0 70 || [A0] STW FP,*SP--[16] ; save frame pointer and alloca(64) 71 || [A0] MV SP,FP 72 [A0] LDW *${CTX}[0],$A ; load A-E... [all …]
|
H A D | sha256-c64xplus.pl | 2 # Copyright 2012-2020 The OpenSSL Project Authors. All Rights Reserved. 22 # almost 40% faster than compiler-generated code. Unroll is unlikely 26 # service routines are expected to preserve it and for own well-being 61 .asg SWAP2,MV 62 .asg SWAP4,MV 69 MV $NUM,A0 ; reassign $NUM 70 || MVK -64,B0 72 || [A0] STW FP,*SP--[16] ; save frame pointer and alloca(64) 73 || [A0] MV SP,FP 83 || [A0] MVKL (K256-__sha256_block),$K256 [all …]
|
/freebsd/sys/contrib/device-tree/include/dt-bindings/usb/ |
H A D | pd.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #define PDO_TYPE_SHIFT 30 26 #define PDO_FIXED_VOLT_SHIFT 10 /* 50mV units */ 29 #define PDO_FIXED_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_FIXED_VOLT_SHIFT) argument 32 #define PDO_FIXED(mv, ma, flags) \ argument 34 PDO_FIXED_VOLT(mv) | PDO_FIXED_CURR(ma)) 36 #define VSAFE5V 5000 /* mv units */ 38 #define PDO_BATT_MAX_VOLT_SHIFT 20 /* 50mV units */ 39 #define PDO_BATT_MIN_VOLT_SHIFT 10 /* 50mV units */ 42 #define PDO_BATT_MIN_VOLT(mv) ((((mv) / 50) & PDO_VOLT_MASK) << PDO_BATT_MIN_VOLT_SHIFT) argument [all …]
|
/freebsd/crypto/openssh/regress/ |
H A D | brokenkeys.sh | 1 # $OpenBSD: brokenkeys.sh,v 1.2 2017/04/30 23:34:55 djm Exp $ 10 mv ${KEYS} ${KEYS}.bak 13 echo "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAIEABTM= bad key" > $KEYS 17 ${SSH} -F $OBJ/ssh_config somehost true 18 if [ $? -ne 0 ]; then 22 mv ${KEYS}.bak ${KEYS}
|
/freebsd/tools/test/stress2/misc/ |
H A D | nullfs21.sh | 29 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 31 # mv <nullfs src> <origin src> removes the file. This is OK on FreeBSD. 32 # This is handled on Linux with "mount --bind". 36 mount | grep $mntpoint | grep -q /dev/md && umount -f $mntpoint 37 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 39 mdconfig -a -t swap -s 512m -u $mdstart || exit 1 41 newfs -n -b 4096 -f 512 -i 1024 md$mdstart > /dev/null 46 [ -d $mp2 ] || mkdir -p $mp2 47 mount | grep -wq $mp2 && umount $mp2 48 mount -t nullfs $mntpoint $mp2 [all …]
|
H A D | umountf7.sh | 34 [ `id -u ` -ne 0 ] && echo "Must be root!" && exit 1 42 mycc -o umountf7 -Wall -Wextra umountf7.c -lpthread || exit 1 43 rm -f umountf7.c 46 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint 47 mdconfig -l | grep -q md$mdstart && mdconfig -d -u $mdstart 48 mdconfig -a -t swap -s 3g -u $mdstart || exit 1 49 [ "$newfs_flags" = "-U" ] && opt="-j" 53 daemon sh -c '(cd ../testcases/swap; ./swap -t 2m -i 4)' 56 [ -d $mntpoint/$j ] || mkdir $mntpoint/$j 61 sleep 30 [all …]
|
H A D | mmap34.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 30 # "panic: caller failed to provide space -546873344 at address 0x20a00000" 39 [ `id -u` -ne 0 ] && echo "Must be root!" && exit 1 45 mycc -o mmap34 -Wall -Wextra -O0 -g mmap34.c -lpthread || exit 1 48 set -e 49 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint 50 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 51 mdconfig -a -t swap -s 4g -u $mdstart 52 newfs $newfs_flags -n md$mdstart > /dev/null 56 (cd ../testcases/swap; ./swap -t 5m -i 20) & [all …]
|
H A D | mmap40.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 36 [ `id -u` -ne 0 ] && echo "Must be root!" && exit 1 37 [ `sysctl -n vm.swap_total` -eq 0 ] && exit 0 43 mycc -o mmap40 -Wall -Wextra -O0 -g mmap40.c || exit 1 44 rm -f mmap40.c 47 set -e 48 mount | grep "on $mntpoint " | grep -q /dev/md && umount -f $mntpoint 49 [ -c /dev/md$mdstart ] && mdconfig -d -u $mdstart 50 mdconfig -a -t swap -s 2g -u $mdstart 55 u1=`swapinfo | tail -1 | awk '{print $3}'` [all …]
|
H A D | r335171.sh | 4 # SPDX-License-Identifier: BSD-2-Clause 33 # fork, vm_map_copy_entry()->vm_object_split() is executed, it is 39 # read-behind pages for the fault. Then the restart of the scan can see 51 mycc -o template -Wall -Wextra -O0 -g template.c || exit 1 52 rm -f template.c 54 (cd $odir/../testcases/swap; ./swap -t 5m -i 30 -l 100 -h) > /dev/null & 57 [ -f template.core -a $s -eq 0 ] && 58 { ls -l template.core; mv template.core $dir; s=1; } 61 rm -rf $dir/template 98 MAP_ANON | MAP_PRIVATE, -1, 0)) == MAP_FAILED) [all …]
|
/freebsd/sys/riscv/riscv/ |
H A D | swtch.S | 1 /*- 2 * Copyright (c) 2015-2017 Ruslan Bukin <br@bsdpad.com> 7 * FA8750-10-C-0237 ("CTSRD"), as part of the DARPA CRASH research programme. 83 fsd f30, (PCB_X + 30 * 16)(\p) 132 fld f30, (PCB_X + 30 * 16)(\p) 209 mv s0, a1 210 mv a0, a1 212 mv a0, s0 224 /* s[0-11] */ 269 /* Store ra, sp and the callee-saved registers */ [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/power/supply/ |
H A D | mediatek,mt6370-charger.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/supply/mediatek,mt6370-charger.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - ChiaEn Wu <chiaen_wu@richtek.com> 18 const: mediatek,mt6370-charger 34 - description: irq of "USB is plugged in" 35 - description: irq of "BC1.2 is done" 36 - description: irq of "Minimum Input Voltage Regulation loop is active" 38 interrupt-names: [all …]
|
/freebsd/contrib/netbsd-tests/ |
H A D | FREEBSD-upgrade | 6 http://www.freebsd.org/doc/en/articles/committers-guide/subversion-primer.html 11 http://www.netbsd.org/docs/guide/en/chap-fetch.html#chap-fetch-cvs 20 cvs -z9 co -D "09/30/2014 20:45" -P src/tests 21 mv src/tests/* tests/dist/. 23 Please adjust the checkout date spec (the argument passed via -D) to match 28 cd .../base/head/contrib/netbsd-tests 29 svn merge --accept=postpone \ 31 find . -name Makefile\* | xargs svn rm --force
|
/freebsd/share/man/man4/man4.i386/ |
H A D | longrun.4 | 25 .Dd June 30, 2001 37 .Bl -column ".Va hw.crusoe.percentage" ".Vt integer" "Changeable" 41 .It Ta Ta Ta "1: power-saving mode" 45 .It Va hw.crusoe.voltage Ta Vt integer Ta no Ta "Current voltage (mV)." 61 .An -nosplit
|
/freebsd/share/examples/ipfw/ |
H A D | change_rules.sh | 3 # SPDX-License-Identifier: BSD-2-Clause 38 # If no answer is received in 30 seconds, the previous 53 if [ -r /etc/defaults/rc.conf ]; then 56 elif [ -r /etc/rc.conf ]; then 60 EDITOR=${EDITOR:-/usr/bin/vi} 61 PAGER=${PAGER:-/usr/bin/more} 64 TMPFILE=`mktemp -t ${tempfoo}` || exit 1 69 echo -n "$1 (Y/N) ? " 70 read -t 30 a 101 if [ -r "${firewall_type}" ]; then [all …]
|
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/rsend/ |
H A D | rsend_009_pos.ksh | 1 #!/bin/ksh -p 10 # or https://opensource.org/licenses/CDDL-1.0. 54 log_must_busy zpool destroy -f $BPOOL 57 log_must_busy zpool destroy -f $SPOOL 66 log_must zpool create -O compression=off $BPOOL $TESTDIR/bfile 67 log_must zpool create -O compression=off $SPOOL $TESTDIR/sfile 70 # Test out of space on sub-filesystem 73 log_must mkfile 30M /$BPOOL/fs/file 76 log_must eval "zfs send -R $BPOOL/fs@snap > $BACKDIR/fs-R" 77 log_mustnot eval "zfs receive -d -F $SPOOL < $BACKDIR/fs-R" [all …]
|
/freebsd/contrib/bmake/mk/ |
H A D | newlog.sh | 4 # newlog - rotate log files 16 # -C "compress" 20 # -E "ext" 24 # -G "gens" 28 # -N Don't actually do anything, just show us. 30 # -R Rotate rather than save logs by default. 33 # -S Save rather than rotate logs by default. 37 # -f "fmt" 39 # uniquely name it when using the '-S' option. 41 # an extra suffix of our process-i [all...] |
H A D | man.mk | 37 @echo "${NROFF} -${MANDOC} ${.IMPSRC} > ${.TARGET:T}" 38 @${NROFF} -${MANDOC} ${.IMPSRC} > ${.TARGET:T}.new && \ 39 mv ${.TARGET:T}.new ${.TARGET:T} 43 MAN_INSTALL_OWN ?= -o ${MANOWN} -g ${MANGRP} 49 MINSTALL = ${INSTALL} ${COPY} ${MAN_INSTALL_OWN} -m ${MANMODE} 62 # -m produces man(7) 63 # -mm produces mdoc(7) 64 CMT2DOC_FLAGS ?= -pm 65 CMT2DOC_OPTS ?= ${CMT2DOC_ORGOPT} - [all...] |
/freebsd/sys/contrib/device-tree/src/arm/rockchip/ |
H A D | rk3128-xpi-3128.dts | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 3 /dts-v1/; 5 #include <dt-bindings/input/input.h> 6 #include <dt-bindings/leds/common.h> 10 model = "Geniatech XPI-3128"; 11 compatible = "geniatech,xpi-3128", "rockchip,rk3128"; 25 stdout-path = &uart1; 28 adc-keys { 29 compatible = "adc-keys"; 30 io-channels = <&saradc 1>; [all …]
|
/freebsd/tests/sys/cddl/zfs/tests/rsend/ |
H A D | rsend_009_pos.ksh | 1 #!/usr/local/bin/ksh93 -p 49 # CODING_STATUS: COMPLETED (2007-10-10) 60 log_must $ZPOOL destroy -f bpool 63 log_must $ZPOOL destroy -f spool 70 log_must $TRUNCATE -s 100M $TESTDIR/bfile 71 log_must $TRUNCATE -s 64M $TESTDIR/sfile 76 # Test out of space on sub-filesystem 80 log_must $TRUNCATE -s 30M $mntpnt/file 83 log_must eval "$ZFS send -R bpool/fs@snap > $BACKDIR/fs-R" 84 log_mustnot eval "$ZFS receive -d -F spool < $BACKDIR/fs-R" [all …]
|
/freebsd/contrib/sendmail/src/ |
H A D | macro.c | 2 * Copyright (c) 1998-2001, 2003, 2006, 2007 Proofpoint, Inc. and its suppliers. 4 * Copyright (c) 1983, 1995-1997 Eric P. Allman. All rights reserved. 16 SM_RCSID("@(#)$Id: macro.c,v 8.108 2013-11-22 20:51:55 ca Exp $") 19 #if MAXMACROID != (BITMAPBITS - 1) 37 /* table for next id in non-printable ASCII range: disallow some value */ 49 /* 9 ht */ -1, 50 /* 10 nl */ -1, 51 /* 11 vt */ -1, 52 /* 12 np */ -1, 53 /* 13 cr */ -1, [all …]
|
/freebsd/contrib/bmake/mk/sys/ |
H A D | UnixWare.mk | 2 # based on "Id: SunOS.5.sys.mk,v 1.6 2003/09/30 16:42:23 sjg Exp " 7 OS_DEF_FLAG ?= -DUNIXWARE 21 # no -X 29 AS_STDIN ?= - 33 COMPILE.S ?= ${CC} ${AFLAGS} ${CPPFLAGS} -c 38 CC ?= gcc -pipe ${OS_DEF_FLAG} 39 DBG ?= -O -g 40 STATIC ?= -static 43 DBG ?= -g 44 STATIC ?= -Bstatic # XXX: don't know about UDK compilers [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/pinctrl/ |
H A D | qcom,pmic-gpio.txt | 6 - compatible: 10 "qcom,pm8005-gpio" 11 "qcom,pm8018-gpio" 12 "qcom,pm8038-gpio" 13 "qcom,pm8058-gpio" 14 "qcom,pm8916-gpio" 15 "qcom,pm8917-gpio" 16 "qcom,pm8921-gpio" 17 "qcom,pm8941-gpio" 18 "qcom,pm8950-gpio" [all …]
|
/freebsd/contrib/ncurses/ |
H A D | README.emx | 1 ------------------------------------------------------------------------------- 2 -- Copyright 2020,2021 Thomas E. Dickey -- 3 -- Copyright 1998-2006,2018 Free Software Foundation, Inc. -- 4 -- -- 5 -- Permission is hereby granted, free of charge, to any person obtaining a -- 6 -- copy of this software and associated documentation files (the -- 7 -- "Software"), to deal in the Software without restriction, including -- 8 -- without limitation the rights to use, copy, modify, merge, publish, -- 9 -- distribute, distribute with modifications, sublicense, and/or sell copies -- 10 -- of the Software, and to permit persons to whom the Software is furnished -- [all …]
|
/freebsd/sys/cddl/dev/dtrace/x86/ |
H A D | dis_tables.c | 44 * Disassembly begins in dis_distable, which is equivalent to the One-byte 45 * Opcode Map in the Intel IA32 ISA Reference (page A-6 in my copy). The 52 * DIS_MEM Include memory-size calculations 73 /* field terminates - no pointer. */ 108 Mv, enumerator 135 DSHIFT, /* for double shift that has an 8-bit immediate */ 151 DM, /* 16-bit data */ 152 AM, /* 16-bit addr */ 153 LSEG, /* for 3-bit seg reg encoding */ 162 RET, /* single immediate 16-bit operand */ [all …]
|
/freebsd/sys/arm/mv/ |
H A D | mpic.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (C) 2007-2011 MARVELL INTERNATIONAL LTD. 32 * from: FreeBSD: src/sys/arm/mv/ic.c,v 1.5 2011/02/08 01:49:30 56 #include <arm/mv/mvvar.h> 57 #include <arm/mv/mvreg.h> 127 { -1, 0 } 157 bus_space_write_4((softc)->mpic_bst, (softc)->mpic_bsh, (reg), (val)) 159 bus_space_read_4((softc)->mpic_bst, (softc)->mpic_bsh, (reg)) 162 bus_space_write_4((softc)->cpu_bst, (softc)->cpu_bsh, (reg), (val)) [all …]
|