id stringlengths 22 129 | text stringlengths 60 19.5k | arch stringclasses 9
values | syntax stringclasses 5
values | kind stringclasses 4
values | repo stringclasses 32
values | path stringlengths 7 108 | license stringclasses 10
values | commit stringlengths 40 40 | source_host stringclasses 1
value | category stringclasses 15
values | source_url stringlengths 85 192 | line_start int64 1 5.48k | line_end int64 4 5.5k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NetBSD/src:sys/lib/libkern/arch/sparc/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.36 2013/03/17 04:45:46 nakayama Exp $
SRCS+= ffs.S
SRCS+= memset.S
SRCS+= strlen.S
SRCS+= htonl.S htons.S ntohl.S ntohs.S
SRCS+= random.S
SRCS+= bswap16.c bswap32.c
SRCS+= mul.S umul.S saveregs.S
# `source' files built from m4 source
# the name `div.o' is taken for the ANSI C `div' funct... | sparc | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/sparc/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sparc/Makefile.inc | 1 | 40 |
NetBSD/src:sys/lib/libkern/arch/sparc/random.S:2 | * The result is in (0,2^31), e.g., it's always positive.
*/
#include <machine/asm.h>
.data
.align 4
randseed:
.long 1
.text
ENTRY(random)
sethi %hi(16807), %o1
wr %o1, %lo(16807), %y
#ifdef __PIC__
PIC_PROLOGUE(%o5, %o2)
set randseed, %g1
ld [%o5 + %g1], %g1
ld [%g1], %o0
#else
sethi %hi(randseed), %g1
l... | sparc | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/sparc/random.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sparc/random.S | 41 | 100 |
NetBSD/src:sys/lib/libkern/arch/sparc/random.S:3 | srl %o2, 16, %o1
set 0xffff, %o4
and %o4, %o2, %o0
sll %o0, 15, %o0
srl %o3, 17, %o3
or %o3, %o0, %o0
addcc %o0, %o1, %o0
bneg 1f
sethi %hi(0x7fffffff), %o1
retl
#ifdef __PIC__
st %o0, [%g1]
#else
st %o0, [%g1 + %lo(randseed)]
#endif
1:
or %o1, %lo(0x7fffffff), %o1
add %o0, 1, %o0
and %o1, %o0, %o0
retl
... | sparc | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/sparc/random.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sparc/random.S | 81 | 105 |
NetBSD/src:sys/lib/libkern/arch/sparc64/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.11 2013/03/17 04:47:16 nakayama Exp $
SRCS+= ffs.S
SRCS+= strlen.S
SRCS+= htonl.S htons.S ntohl.S ntohs.S
SRCS+= random.S
SRCS+= bswap16.c bswap32.c
SRCS+= mul.S saveregs.S umul.S
# `source' files built from m4 source
# the name `div.o' is taken for the ANSI C `div' function, hence sdiv ... | sparc | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/sparc64/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sparc64/Makefile.inc | 1 | 35 |
NetBSD/src:sys/lib/libkern/arch/sparc64/random.S:2 | * The result is in (0,2^31), e.g., it's always positive.
*/
#include <machine/asm.h>
.data
.align 4
randseed:
.long 1
.text
ENTRY(random)
sethi %hi(16807), %o1
wr %o1, %lo(16807), %y
#ifdef __PIC__
PIC_PROLOGUE(%o5, %o2)
set randseed, %g1
ldx [%o5 + %g1], %g1
ld [%g1], %o0
#else
sethi %hi(randseed), %g1
... | sparc | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/sparc64/random.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/sparc64/random.S | 41 | 100 |
NetBSD/src:sys/lib/libkern/arch/vax/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.25 2018/09/03 16:54:55 riastradh Exp $
#
# The rest of the lib routines are in machine/macros.h
#
SRCS+= blkcpy.S blkset.S bswap16.S bswap32.S bswap64.S
SRCS+= random.S
SRCS+= udiv.S urem.S
NO_SRCS+= imax.c imin.c lmax.c lmin.c uimax.c uimin.c ulmax.c ulmin.c
NO_SRCS+= scanc.c skpc.c | arm | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/vax/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/vax/Makefile.inc | 1 | 11 |
NetBSD/src:sys/lib/libkern/arch/vax/blkcpy.S:1 | /* $NetBSD: blkcpy.S,v 1.4 2005/12/11 12:24:45 christos Exp $ */
/*
* Copyright (c) 1983, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:... | x86_64 | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/vax/blkcpy.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/vax/blkcpy.S | 1 | 60 |
NetBSD/src:sys/lib/libkern/arch/vax/blkcpy.S:2 | ret # equal, nothing to do
1:
subl2 %r0,%r6
movc3 %r0,(%r1),(%r3)
2:
movzwl $65535,%r0
cmpl %r6,%r0
jgtr 1b
movc3 %r6,(%r1),(%r3)
ret
3:
addl2 %r6,%r1
addl2 %r6,%r3
movzwl $65535,%r0
jbr 5f
4:
subl2 %r0,%r6
subl2 %r0,%r1
subl2 %r0,%r3
movc3 %r0,(%r1),(%r3)
movzwl $65535,%r0
subl2 %r0,%r1
subl2 %r0,%... | x86_64 | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/vax/blkcpy.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/vax/blkcpy.S | 41 | 70 |
NetBSD/src:sys/lib/libkern/arch/vax/blkset.S:1 | /* $NetBSD: blkset.S,v 1.5 2005/12/11 12:24:45 christos Exp $ */
/*
* Copyright (c) 1994 Ludd, University of Lule}, Sweden.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistrib... | x86_64 | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/vax/blkset.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/vax/blkset.S | 1 | 49 |
NetBSD/src:sys/lib/libkern/arch/vax/random.S:2 | * Lawrence Berkeley Laboratory and its contributors.'' Neither the name of
* the University nor the names of its contributors may be used to endorse
* or promote products derived from this software without specific prior
* written permission.
* THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED
... | x86_64 | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/vax/random.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/vax/random.S | 41 | 100 |
NetBSD/src:sys/lib/libkern/arch/vax/random.S:3 | mull2 %r0,%r2
ashl $-16,%r1,%r1 # %r1=16807*hiword(randseed)
bicl2 $0xffff0000,%r1
mull2 %r0,%r1
bicl3 $0xffff0000,%r2,%r0
ashl $-16,%r2,%r2 # %r1+=(%r2>>16)
bicl2 $0xffff0000,%r2
addl2 %r2,%r1
ashl $16,%r1,%r2 # %r0|=%r1<<16
bisl2 %r2,%r0
ashl $-16,%r1,%r1 # %r1=%r1>>16
ashl $1,%r1,%r1
movl %r0,%r2
r... | x86_64 | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/vax/random.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/vax/random.S | 81 | 104 |
NetBSD/src:sys/lib/libkern/arch/x86_64/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.7 2020/01/27 22:06:13 ad Exp $
SRCS+= byte_swap_2.S byte_swap_4.S byte_swap_8.S
SRCS+= ffs.S
SRCS+= memchr.S memcpy.S memmove.S memset.S
SRCS+= strcat.S strchr.S strcmp.S
SRCS+= strcpy.S strlen.S
SRCS+= strrchr.S
SRCS+= scanc.S skpc.S
SRCS+= random.S | x86_64 | gas-like | handwritten | NetBSD/src | sys/lib/libkern/arch/x86_64/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/x86_64/Makefile.inc | 1 | 10 |
NetBSD/src:sys/lib/libkern/arch/x86_64/scanc.S:1 | /* $NetBSD: scanc.S,v 1.3 2017/10/30 17:13:39 maxv Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Charles M. Hannum.
*
* Redistribution and use in source and binary forms, with or without
* mod... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libkern/arch/x86_64/scanc.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/x86_64/scanc.S | 1 | 56 |
NetBSD/src:sys/lib/libkern/arch/x86_64/skpc.S:1 | /* $NetBSD: skpc.S,v 1.3 2017/10/30 17:13:39 maxv Exp $ */
/*
* Copyright (c) 1998 The NetBSD Foundation, Inc.
* All rights reserved.
*
* This code is derived from software contributed to The NetBSD Foundation
* by Charles M. Hannum.
*
* Redistribution and use in source and binary forms, with or without
* modi... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libkern/arch/x86_64/skpc.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libkern/arch/x86_64/skpc.S | 1 | 50 |
NetBSD/src:sys/lib/libsa/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.27 2023/08/30 18:47:56 christos Exp $
#
# Configuration variables (default values are below):
#
# S must be set to the top of the 'sys' tree.
# SADST may be set to the location of the directory where library
# objects are to be built. Defaults to ${.OBJDIR}/lib/sa.
# SA_AS may be set to 'o... | arm | gas-like | handwritten | NetBSD/src | sys/lib/libsa/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libsa/Makefile.inc | 1 | 60 |
NetBSD/src:sys/lib/libsa/Makefile.inc:2 | AS=${AS:q} AFLAGS=${AFLAGS:q} \
LORDER=${LORDER:q} \
TSORT=${TSORT:q} \
LD=${LD:q} STRIP=${STRIP:q} \
AR=${AR:q} NM=${NM:q} \
COPTS=${COPTS:q} \
RANLIB=${RANLIB:q} SIZE=${SIZE:q} \
MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
SACPPFLAGS=${CPPFLAGS:S@^-I.@-I${SADOTDIR}@g:q}... | arm | gas-like | handwritten | NetBSD/src | sys/lib/libsa/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libsa/Makefile.inc | 41 | 88 |
NetBSD/src:sys/lib/libsa/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.26 2020/09/07 03:09:53 mrg Exp $
#
# Configuration variables (default values are below):
#
# S must be set to the top of the 'sys' tree.
# SADST may be set to the location of the directory where library
# objects are to be built. Defaults to ${.OBJDIR}/lib/sa.
# SA_AS may be set to 'obj' t... | arm | gas-like | handwritten | NetBSD/src | sys/lib/libsa/Makefile.inc | BSD-2-Clause | 3a3e6e6861107fa30395b99abb65697f94ef1bf8 | github | kernel | https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/lib/libsa/Makefile.inc | 1 | 60 |
NetBSD/src:sys/lib/libsa/Makefile.inc:2 | AS=${AS:q} AFLAGS=${AFLAGS:q} \
LORDER=${LORDER:q} \
TSORT=${TSORT:q} \
LD=${LD:q} STRIP=${STRIP:q} \
AR=${AR:q} NM=${NM:q} \
RANLIB=${RANLIB:q} SIZE=${SIZE:q} \
MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
SACPPFLAGS=${CPPFLAGS:S@^-I.@-I${SADOTDIR}@g:q} \
SAMISCCPPFLAGS=$... | arm | gas-like | handwritten | NetBSD/src | sys/lib/libsa/Makefile.inc | BSD-2-Clause | 3a3e6e6861107fa30395b99abb65697f94ef1bf8 | github | kernel | https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/lib/libsa/Makefile.inc | 41 | 87 |
NetBSD/src:sys/lib/libunwind/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.14 2021/11/22 16:41:32 thorpej Exp $
.PATH: ${NETBSDSRCDIR}/sys/lib/libunwind
SRCS+= libunwind.cxx \
unwind_registers.S
INCS+= unwind.h
COPTS.libunwind.cxx+= ${${ACTIVE_CXX} == "gcc":? -std=c++0x : -std=c++11 }
COPTS.libunwind.cxx+= -funwind-tables -fno-rtti
COPTS.libunwind.cxx+= -fno-e... | arm | gas-like | handwritten | NetBSD/src | sys/lib/libunwind/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/Makefile.inc | 1 | 19 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:1 | //===------------------------- unwind_registers.S -------------------------===//
//
// The LLVM Compiler Infrastructure
//
// This file is dual licensed under the MIT and the University of Illinois Open
// Source Licenses. See LICENSE.TXT for details.
//
//
// Abstracts accessing local vs remote add... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1 | 60 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:2 | movl %ebx, 0(%edx) /* ...and save it on the new stack */
pushl %edx /* Save new stack pointer on old stack */
/* New stack is prepared, now restore all registers except ESP */
/* EAX is the index register and must be restored last */
movl 4(%eax), %ecx
movl 8(%eax), %edx
movl 12(%eax), %ebx
movl 20(%eax), %ebp
... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 41 | 100 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:3 | movq %rax, 128(%rdi)
ret
.hidden _ZNK7_Unwind16Registers_x86_646jumptoEv
ENTRY(_ZNK7_Unwind16Registers_x86_646jumptoEv)
/* RDI == this */
movq 56(%rdi), %rax
subq $8, %rax /* Reserve space on new stack for RIP */
movq 128(%rdi), %rbx /* Load new RIP */
movq %rbx, 0(%rax) /* ...and save it on the new stack */
p... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 81 | 140 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:4 | stw %r1, 4(%r3)
stw %r2, 8(%r3)
stw %r3, 12(%r3)
stw %r4, 16(%r3)
stw %r5, 20(%r3)
stw %r6, 24(%r3)
stw %r7, 28(%r3)
stw %r8, 32(%r3)
stw %r9, 36(%r3)
stw %r10, 40(%r3)
stw %r11, 44(%r3)
stw %r12, 48(%r3)
stw %r13, 52(%r3)
stw %r14, 56(%r3)
stw %r15, 60(%r3)
stw %r16, 64(%r3)
... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 121 | 180 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:5 | stfd %f4, 176(%r3)
stfd %f5, 184(%r3)
stfd %f6, 192(%r3)
stfd %f7, 200(%r3)
stfd %f8, 208(%r3)
stfd %f9, 216(%r3)
stfd %f10, 224(%r3)
stfd %f11, 232(%r3)
stfd %f12, 240(%r3)
stfd %f13, 248(%r3)
stfd %f14, 256(%r3)
stfd %f15, 264(%r3)
stfd %f16, 272(%r3)
stfd %f17, 280(%r3)
stfd %f18, ... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 161 | 220 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:6 | lfd %f6, 192(%r3)
lfd %f7, 200(%r3)
lfd %f8, 208(%r3)
lfd %f9, 216(%r3)
lfd %f10, 224(%r3)
lfd %f11, 232(%r3)
lfd %f12, 240(%r3)
lfd %f13, 248(%r3)
lfd %f14, 256(%r3)
lfd %f15, 264(%r3)
lfd %f16, 272(%r3)
lfd %f17, 280(%r3)
lfd %f18, 288(%r3)
lfd %f19, 296(%r3)
lfd %f20, 304(%r3)
lfd ... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 201 | 260 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:7 | lwz %r15, 60(%r3)
lwz %r16, 64(%r3)
lwz %r17, 68(%r3)
lwz %r18, 72(%r3)
lwz %r19, 76(%r3)
lwz %r20, 80(%r3)
lwz %r21, 84(%r3)
lwz %r22, 88(%r3)
lwz %r23, 92(%r3)
lwz %r24, 96(%r3)
lwz %r25,100(%r3)
lwz %r26,104(%r3)
lwz %r27,108(%r3)
lwz %r28,112(%r3)
lwz %r29,116(%r3)
lwz %r30,120(%r3)
... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 241 | 300 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:8 | stp x12,x13, [x0, #0x060]
stp x14,x15, [x0, #0x070]
stp x16,x17, [x0, #0x080]
stp x18,x19, [x0, #0x090]
stp x20,x21, [x0, #0x0A0]
stp x22,x23, [x0, #0x0B0]
stp x24,x25, [x0, #0x0C0]
stp x26,x27, [x0, #0x0D0]
stp x28,x29, [x0, #0x0E0]
mov x1,sp
stp x30,x1, [x0, #0x0F0]
stp q0, q1, [x0, #0x100]
stp q2, q3... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 281 | 340 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:9 | ldp x14, x15, [x0, #0x070]
ldp x16, x17, [x0, #0x080]
ldp x18, x19, [x0, #0x090]
ldp x20, x21, [x0, #0x0A0]
ldp x22, x23, [x0, #0x0B0]
ldp x24, x25, [x0, #0x0C0]
ldp x26, x27, [x0, #0x0D0]
ldp x28, x29, [x0, #0x0E0]
ldp x30, x1, [x0, #0x0F0]
mov sp, x1
ldp q0, q1, [x0, #0x100... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 321 | 380 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:10 | str r1, [r0, #64] /* CPSR */
mov r1, #0
str r1, [r0, #68] /* flags */
RET
END(_ZN7_Unwind15Registers_arm32C1Ev)
.hidden _ZN7_Unwind15Registers_arm329lazyVFPv2Ev
ARM_ENTRY(_ZN7_Unwind15Registers_arm329lazyVFPv2Ev)
add r0, #72
vstmia r0, {d0-d15}
RET
END(_ZN7_Unwind15Registers_arm329lazyVFPv2Ev)
.hidden _ZN7_Un... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 361 | 420 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:11 | .hidden _ZN7_Unwind13Registers_vaxC1Ev
ENTRY(_ZN7_Unwind13Registers_vaxC1Ev, R0)
subl2 $4, %sp
movl 4(%ap), %r0
movl %r1, 4(%r0)
movl %r2, 8(%r0)
movl %r3, 12(%r0)
movl %r4, 16(%r0)
movl %r5, 20(%r0)
movl %r6, 24(%r0)
movl %r7, 28(%r0)
movl %r8, 32(%r0)
movl %r9, 36(%r0)
movl %r10, 40(%r0)
movl ... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 401 | 460 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:12 | movl 40(%r0), %r10
movl 44(%r0), %r11
movl 48(%r0), %r12
movl 52(%r0), %r13
movl 56(%r0), %r14
movl 60(%r0), -(%sp)
movl 0(%r0), %r0
/* XXX restore PSW */
rsb
END(_ZNK7_Unwind13Registers_vax6jumptoEv)
#endif
#if defined(__m68k__)
ENTRY(_ZN7_Unwind14Registers_M68KC1Ev)
move.l 4(%sp), %a0
movem.l %d0-%d7/%a0-%... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 441 | 500 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:13 | sts.l pr, @-r15
mov.l @r15+, r8
mov.l r8, @r4
mov.l @r15+, r8
mov.l r15, @-r4
mov.l r14, @-r4
mov.l r13, @-r4
mov.l r12, @-r4
mov.l r11, @-r4
mov.l r10, @-r4
mov.l r9, @-r4
mov.l r8, @-r4
mov.l r7, @-r4
mov.l r6, @-r4
mov.l r5, @-r4
add #-4, r4
mov.l r3, @-r4
mov.l r2, @-r4
mov.l r1, @-r4
mov.l r0... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 481 | 540 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:14 | mov.l @r0+, r12
mov.l @r0+, r13
mov.l @(12, r0), r14
lds r14, pr
mov.l @r0+, r14
mov.l @r0+, r15
mov.l @r0, r0
jmp @r0
nop
SET_ENTRY_SIZE(_ZNK7_Unwind13Registers_SH36jumptoEv)
#endif
#if defined(__sparc64__)
#include <machine/trap.h>
.register %g2, #ignore
.register %g3, #ignore
.register %g6, #ignore
.r... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 521 | 580 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:15 | stx %l3, [%o0 + 152]
stx %l4, [%o0 + 160]
stx %l5, [%o0 + 168]
stx %l6, [%o0 + 176]
stx %l7, [%o0 + 184]
stx %i0, [%o0 + 192]
stx %i1, [%o0 + 200]
stx %i2, [%o0 + 208]
stx %i3, [%o0 + 216]
stx %i4, [%o0 + 224]
stx %i5, [%o0 + 232]
stx %i6, [%o0 + 240]
stx %i7, [%o0 + 248]
add %o7, 8, %g1
retl
stx %g1, [... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 561 | 620 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:16 | ldx [%o0 + 152], %l3
ldx [%o0 + 160], %l4
ldx [%o0 + 168], %l5
ldx [%o0 + 176], %l6
ldx [%o0 + 184], %l7
ldx [%o0 + 192], %i0
ldx [%o0 + 200], %i1
ldx [%o0 + 208], %i2
ldx [%o0 + 216], %i3
ldx [%o0 + 224], %i4
ldx [%o0 + 232], %i5
ldx [%o0 + 240], %i6
ldx [%o0 + 248], %i7
ldx [%o0 + 256], %g1
jmpl %g1, %g... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 601 | 660 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:17 | st %l1, [%o0 + 68]
st %l2, [%o0 + 72]
st %l3, [%o0 + 76]
st %l4, [%o0 + 80]
st %l5, [%o0 + 84]
st %l6, [%o0 + 88]
st %l7, [%o0 + 92]
st %i0, [%o0 + 96]
st %i1, [%o0 + 100]
st %i2, [%o0 + 104]
st %i3, [%o0 + 108]
st %i4, [%o0 + 112]
st %i5, [%o0 + 116]
st %i6, [%o0 + 120]
st %i7, [%o0 + 124 ]
add %o7, 8, ... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 641 | 700 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:18 | ld [%o0 + 72], %l2
ld [%o0 + 76], %l3
ld [%o0 + 80], %l4
ld [%o0 + 84], %l5
ld [%o0 + 88], %l6
ld [%o0 + 92], %l7
ld [%o0 + 96], %i0
ld [%o0 + 100], %i1
ld [%o0 + 104], %i2
ld [%o0 + 108], %i3
ld [%o0 + 112], %i4
ld [%o0 + 116], %i5
ld [%o0 + 120], %i6
ld [%o0 + 124], %i7
ld [%o0 + 128], %g1
jmpl %g1, %g... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 681 | 740 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:19 | stq $15, 120($16)
stq $16, 128($16)
stq $17, 136($16)
stq $18, 144($16)
stq $19, 152($16)
stq $20, 160($16)
stq $21, 168($16)
stq $22, 176($16)
stq $23, 184($16)
stq $24, 192($16)
stq $25, 200($16)
stq $26, 208($16)
stq $27, 216($16)
stq $28, 224($16)
stq $29, 232($16)
stq $30, 240($16)
stq $26, 248($16... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 721 | 780 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:20 | stt $f22, 432($16)
stt $f23, 440($16)
stt $f24, 448($16)
stt $f25, 456($16)
stt $f26, 464($16)
stt $f27, 472($16)
stt $f28, 480($16)
stt $f29, 488($16)
stt $f30, 496($16)
ret $31, ($26), 1
END(_ZN7_Unwind15Registers_AlphaC1Ev)
.set nomacro
.set noat
.hidden _ZNK7_Unwind15Registers_Alpha6jumptoEv
LEAF_NOPRO... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 761 | 820 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:21 | ldq $25, 200($16)
ldq $27, 216($16)
ldq $28, 224($16)
ldq $29, 232($16)
ldq $30, 240($16)
ldq $26, 248($16)
ldt $f0, 256($16)
ldt $f1, 264($16)
ldt $f2, 272($16)
ldt $f3, 280($16)
ldt $f4, 288($16)
ldt $f5, 296($16)
ldt $f6, 304($16)
ldt $f7, 312($16)
ldt $f8, 320($16)
ldt $f9, 328($16)
ldt $f10, 336($... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 801 | 860 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:22 | END(_ZNK7_Unwind15Registers_Alpha6jumptoEv)
#endif
#if defined(__mips_n64) || defined(__mips_n32)
.set noat
LEAF(_ZN7_Unwind16Registers_MIPS64C1Ev)
#if 0
FP_S $f0, 256($4)
FP_S $f1, 264($4)
FP_S $f2, 272($4)
FP_S $f3, 280($4)
FP_S $f4, 288($4)
FP_S $f5, 296($4)
FP_S $f6, 304($4)
FP_S $f7, 312($4)
FP_S $f8, 3... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 841 | 900 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:23 | sd $31, 0($4)
sd $1, 4($4)
sd $2, 8($4)
sd $3, 12($4)
sd $4, 16($4)
sd $5, 20($4)
sd $6, 24($4)
sd $7, 28($4)
sd $8, 32($4)
sd $9, 36($4)
sd $10, 40($4)
sd $11, 44($4)
sd $12, 48($4)
sd $13, 52($4)
sd $14, 56($4)
sd $15, 60($4)
sd $16, 64($4)
sd $17, 68($4)
sd $18, 72($4)
sd $19, 76($4)
sd $20, 80($... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 881 | 940 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:24 | FP_L $f2, 272($4)
FP_L $f3, 280($4)
FP_L $f4, 288($4)
FP_L $f5, 296($4)
FP_L $f6, 304($4)
FP_L $f7, 312($4)
FP_L $f8, 320($4)
FP_L $f9, 328($4)
FP_L $f10, 336($4)
FP_L $f11, 344($4)
FP_L $f12, 352($4)
FP_L $f13, 360($4)
FP_L $f14, 368($4)
FP_L $f15, 376($4)
FP_L $f16, 384($4)
FP_L $f17, 392($4)
FP_L $f1... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 921 | 980 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:25 | ld $9, 72($4)
ld $10, 80($4)
ld $11, 88($4)
ld $12, 96($4)
ld $13, 104($4)
ld $14, 112($4)
ld $15, 120($4)
ld $16, 128($4)
ld $17, 136($4)
ld $18, 144($4)
ld $19, 152($4)
ld $20, 160($4)
ld $21, 168($4)
ld $22, 176($4)
ld $23, 184($4)
ld $24, 192($4)
ld $25, 200($4)
ld $26, 208($4)
ld $27, 216($4)
ld... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 961 | 1,020 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:26 | FP_S $f9, 200($4)
FP_S $f10, 208($4)
FP_S $f11, 216($4)
FP_S $f12, 224($4)
FP_S $f13, 232($4)
FP_S $f14, 240($4)
FP_S $f15, 248($4)
FP_S $f16, 256($4)
FP_S $f17, 264($4)
FP_S $f18, 272($4)
FP_S $f19, 280($4)
FP_S $f20, 288($4)
FP_S $f21, 296($4)
FP_S $f22, 304($4)
FP_S $f23, 312($4)
FP_S $f24, 320($4)
F... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,001 | 1,060 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:27 | sw $15, 60($4)
sw $16, 64($4)
sw $17, 68($4)
sw $18, 72($4)
sw $19, 76($4)
sw $20, 80($4)
sw $21, 84($4)
sw $22, 88($4)
sw $23, 92($4)
sw $24, 96($4)
sw $25, 100($4)
sw $26, 104($4)
sw $27, 108($4)
sw $28, 112($4)
sw $29, 116($4)
sw $30, 120($4)
sw $31, 124($4)
jr $31
nop
END(_ZN7_Unwind14Registers_... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,041 | 1,100 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:28 | FP_L $f16, 256($4)
FP_L $f17, 264($4)
FP_L $f18, 272($4)
FP_L $f19, 280($4)
FP_L $f20, 288($4)
FP_L $f21, 296($4)
FP_L $f22, 304($4)
FP_L $f23, 312($4)
FP_L $f24, 320($4)
FP_L $f25, 328($4)
FP_L $f26, 336($4)
FP_L $f27, 344($4)
FP_L $f28, 352($4)
FP_L $f29, 360($4)
FP_L $f30, 368($4)
FP_L $f31, 376($4)
#... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,081 | 1,140 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:29 | lw $22, 88($4)
lw $23, 92($4)
lw $24, 96($4)
lw $25, 100($4)
lw $26, 104($4)
lw $27, 108($4)
lw $28, 112($4)
lw $29, 116($4)
lw $30, 120($4)
lw $4, 16($4)
jr $31
nop
END(_ZNK7_Unwind14Registers_MIPS6jumptoEv)
#endif
#if defined(__hppa__)
LEAF_ENTRY_NOPROFILE(_ZN7_Unwind14Registers_HPPAC1Ev)
stw %r2, 0(%... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,121 | 1,180 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:30 | stw %r23, 92(%r26)
stw %r24, 96(%r26)
stw %r25, 100(%r26)
stw %r26, 104(%r26)
stw %r27, 108(%r26)
stw %r28, 112(%r26)
stw %r29, 116(%r26)
stw %r30, 120(%r26)
stw %r31, 124(%r26)
ldi 128, %r19
addl %r19, %r26, %r19
fstds,ma %fr4, 8(%r19)
fstds,ma %fr5, 8(%r19)
fstds,ma %fr6, 8(%r19)
fstds,ma %fr7, 8(%r19)
... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,161 | 1,220 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:31 | bv,n %r0(%r2)
EXIT(_ZN7_Unwind14Registers_HPPAC1Ev)
LEAF_ENTRY_NOPROFILE(_ZNK7_Unwind14Registers_HPPA6jumptoEv)
ldi 128, %r19
addl %r19, %r26, %r19
fldds,ma 8(%r19), %fr4
fldds,ma 8(%r19), %fr5
fldds,ma 8(%r19), %fr6
fldds,ma 8(%r19), %fr7
fldds,ma 8(%r19), %fr8
fldds,ma 8(%r19), %fr9
fldds,ma 8(%r19), %fr10
... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,201 | 1,260 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:32 | ldw 28(%r26), %r7
ldw 32(%r26), %r8
ldw 36(%r26), %r9
ldw 40(%r26), %r10
ldw 44(%r26), %r11
ldw 48(%r26), %r12
ldw 52(%r26), %r13
ldw 56(%r26), %r14
ldw 60(%r26), %r15
ldw 64(%r26), %r16
ldw 68(%r26), %r17
ldw 72(%r26), %r18
ldw 76(%r26), %r19
ldw 80(%r26), %r20
ldw 84(%r26), %r21
ldw 88(%r26), %r22
ldw... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,241 | 1,300 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:33 | l.sw (9*3)(r3), r9
l.sw (10*3)(r3), r10
l.sw (11*3)(r3), r11
l.sw (12*3)(r3), r12
l.sw (13*3)(r3), r13
l.sw (14*3)(r3), r14
l.sw (15*3)(r3), r15
l.sw (16*3)(r3), r16
l.sw (17*3)(r3), r17
l.sw (18*3)(r3), r18
l.sw (19*3)(r3), r19
l.sw (20*3)(r3), r20
l.sw (21*3)(r3), r21
l.sw (22*3)(r3), r22
l.sw (23*3)(r3... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,281 | 1,340 |
NetBSD/src:sys/lib/libunwind/unwind_registers.S:34 | l.lwz r9, (9*4)(r3)
l.lwz r10, (10*4)(r3)
l.lwz r11, (11*4)(r3)
l.lwz r12, (12*4)(r3)
l.lwz r13, (13*4)(r3)
l.lwz r14, (14*4)(r3)
l.lwz r15, (15*4)(r3)
l.lwz r16, (16*4)(r3)
l.lwz r17, (17*4)(r3)
l.lwz r18, (18*4)(r3)
l.lwz r19, (19*4)(r3)
l.lwz r20, (20*4)(r3)
l.lwz r21, (21*4)(r3)
l.lwz r22, (22*4)(r3)
... | x86_64 | gas-att | handwritten | NetBSD/src | sys/lib/libunwind/unwind_registers.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libunwind/unwind_registers.S | 1,321 | 1,349 |
NetBSD/src:sys/lib/libz/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.18 2020/09/28 02:44:34 simonb Exp $
#
# Configuration variables (default values are below):
#
# S must be set to the top of the 'sys' tree.
# ZDST may be set to the location of the directory where library
# objects are to be built. Defaults to ${.OBJDIR}/lib/z.
# Z_AS may be set to 'obj' t... | arm | gas-like | handwritten | NetBSD/src | sys/lib/libz/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libz/Makefile.inc | 1 | 60 |
NetBSD/src:sys/lib/libz/Makefile.inc:2 | AR=${AR:q} NM=${NM:q} \
RANLIB=${RANLIB:q} SIZE=${SIZE:q} \
MACHINE=${MACHINE} MACHINE_ARCH=${MACHINE_ARCH:q} \
ZCPPFLAGS=${CPPFLAGS:S@^-I.@-I${ZDOTDIR}@g:q} \
ZMISCCPPFLAGS=${ZMISCCPPFLAGS:q} \
${ZMISCMAKEFLAGS}
${ZLIB}: .NOTMAIN .MAKE __always_make_zlib
@echo making sure the z library is u... | arm | gas-like | handwritten | NetBSD/src | sys/lib/libz/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/lib/libz/Makefile.inc | 41 | 83 |
NetBSD/src:sys/modules/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.8 2019/02/17 04:05:41 rin Exp $
S!= cd ${.PARSEDIR}/..;pwd
CPPFLAGS+= -I${NETBSDSRCDIR}/common/include
USE_FORT= no
WARNS?= 5
# inexpensive kernel consistency checks
# XXX to be commented out on release branch
CPPFLAGS+= -DDIAGNOSTIC
.if !empty(IOCONF)
_BSD_IOCONF_MK_USER_=1
.include <b... | riscv | gas-like | handwritten | NetBSD/src | sys/modules/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/modules/Makefile.inc | 1 | 17 |
NetBSD/src:sys/modules/ath_hal/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.3 2011/02/21 11:16:47 cegger Exp $
CPPFLAGS+= -I${S}/external/isc/atheros_hal/dist
CPPFLAGS+= -I${S}/external/isc/atheros_hal/ic
CPPFLAGS+= -DATHHAL_AR5210 -DATHHAL_AR5211 -DATHHAL_AR5212 \
-DATHHAL_AR5311 -DATHHAL_AR5312 -DATHHAL_AR5416 \
-DATHHAL_AR9280 -DATHHAL_AR9285
CPPFLAGS+= -DAT... | unknown | gas-like | handwritten | NetBSD/src | sys/modules/ath_hal/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/modules/ath_hal/Makefile.inc | 1 | 10 |
NetBSD/src:sys/modules/drmkms/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.9 2022/07/20 01:11:39 riastradh Exp $
# Common makefile cruft for drm2 code.
# XXX All the -D crap needs to go in a header file instead so changing
# it correctly triggers rebuilds.
COPTS+= -fwrapv
# Overrides first.
CPPFLAGS+= -I${S}/external/bsd/drm2/include
CPPFLAGS+= -I${S}/external... | riscv | gas-like | handwritten | NetBSD/src | sys/modules/drmkms/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/modules/drmkms/Makefile.inc | 1 | 52 |
NetBSD/src:sys/modules/emuxki/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.2 2022/09/07 03:34:44 khorben Exp $
# This file is used by modules and rump kernels
IOCONFDIR:= ${.PARSEDIR}
.PATH: ${NETBSDSRCDIR}/sys/dev/pci ${IOCONFDIR}
IOCONF= emuxki.ioconf
SRCS+= emuxki.c
SRCS+= emuxki_boards.c | unknown | gas-like | handwritten | NetBSD/src | sys/modules/emuxki/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/modules/emuxki/Makefile.inc | 1 | 11 |
NetBSD/src:sys/modules/hdafg/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.2 2015/03/28 14:09:59 jmcneill Exp $
# This file is used by modules and rump kernels
IOCONFDIR:= ${.PARSEDIR}
.PATH: ${NETBSDSRCDIR}/sys/dev/hdaudio ${IOCONFDIR}
IOCONF= hdafg.ioconf
SRCS= hdafg.c hdafg_dd.c | unknown | gas-like | handwritten | NetBSD/src | sys/modules/hdafg/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/modules/hdafg/Makefile.inc | 1 | 9 |
NetBSD/src:sys/modules/hdaudio_pci/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.2 2015/06/02 00:38:38 pooka Exp $
# This file is used by modules and rump kernels
IOCONFDIR:= ${.PARSEDIR}
.PATH: ${NETBSDSRCDIR}/sys/dev/pci ${IOCONFDIR}
IOCONF= hdaudio_pci.ioconf
SRCS+= hdaudio_pci.c | unknown | gas-like | handwritten | NetBSD/src | sys/modules/hdaudio_pci/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/modules/hdaudio_pci/Makefile.inc | 1 | 10 |
NetBSD/src:sys/rump/dev/lib/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.8 2016/01/26 23:12:14 pooka Exp $
#
RUMPTOP= ${.CURDIR}/../../..
RUMPDEVLIBDIR:= ${.PARSEDIR}
.if defined(RUMP_COMPONENT) && !empty(RUMP_COMPONENT:Mioconf)
.PATH: ${RUMPDEVLIBDIR}
SRCS+= component_simple.c
.endif
.include "${RUMPTOP}/Makefile.rump" | unknown | gas-like | handwritten | NetBSD/src | sys/rump/dev/lib/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/dev/lib/Makefile.inc | 1 | 13 |
NetBSD/src:sys/rump/librump/rumpkern/arch/alpha/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.4 2015/04/22 20:10:56 pooka Exp $
#
# some stubs
SRCS+= rumpcrud.c
.PATH: ${RUMPTOP}/../arch/alpha/alpha
SRCS+= kobj_machdep.c
.PATH: ${RUMPTOP}/librump/rumpkern/arch/generic
SRCS+= rump_generic_abi.c rump_generic_cpu.c rump_generic_pmap.c | unknown | gas-like | handwritten | NetBSD/src | sys/rump/librump/rumpkern/arch/alpha/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/librump/rumpkern/arch/alpha/Makefile.inc | 1 | 11 |
NetBSD/src:sys/rump/librump/rumpkern/arch/arm/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.5 2015/04/22 20:10:56 pooka Exp $
CPPFLAGS+= -DARCH_ELFSIZE=32
.PATH: ${RUMPTOP}/../arch/arm/arm32
SRCS+= kobj_machdep.c
.PATH: ${RUMPTOP}/librump/rumpkern/arch/generic
SRCS+= rump_generic_abi.c rump_generic_cpu.c rump_generic_pmap.c | arm | gas-like | handwritten | NetBSD/src | sys/rump/librump/rumpkern/arch/arm/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/librump/rumpkern/arch/arm/Makefile.inc | 1 | 9 |
NetBSD/src:sys/rump/librump/rumpkern/arch/generic/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.3 2018/11/15 04:59:02 riastradh Exp $
#
SRCS+= rump_generic_cpu.c rump_generic_kobj.c rump_generic_pmap.c
SRCS+= rump_generic_abi.c
SRCS+= rump_generic_directmap.c | riscv | gas-like | handwritten | NetBSD/src | sys/rump/librump/rumpkern/arch/generic/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/librump/rumpkern/arch/generic/Makefile.inc | 1 | 6 |
NetBSD/src:sys/rump/librump/rumpkern/arch/i386/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.7 2014/02/12 22:28:43 pooka Exp $
#
.include "${RUMPTOP}/librump/rumpkern/arch/x86/Makefile.inc"
.PATH: ${RUMPTOP}/../arch/i386/i386
SRCS+= kobj_machdep.c | x86 | gas-like | handwritten | NetBSD/src | sys/rump/librump/rumpkern/arch/i386/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/librump/rumpkern/arch/i386/Makefile.inc | 1 | 7 |
NetBSD/src:sys/rump/librump/rumpkern/arch/mips/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.4 2021/04/25 15:12:02 christos Exp $
.if empty(MACHINE_ARCH:Mmipsn64*)
CPPFLAGS+= -DARCH_ELFSIZE=32
.endif
.PATH: ${RUMPTOP}/librump/rumpkern/arch/generic
SRCS+= rump_generic_abi.c
SRCS+= rump_generic_cpu.c rump_generic_kobj.c rump_generic_pmap.c | mips | gas-like | handwritten | NetBSD/src | sys/rump/librump/rumpkern/arch/mips/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/librump/rumpkern/arch/mips/Makefile.inc | 1 | 9 |
NetBSD/src:sys/rump/librump/rumpkern/arch/powerpc/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.6 2015/04/22 20:10:56 pooka Exp $
.if ${MACHINE_ARCH} == "powerpc" \
|| (defined(MLIBDIR) && "${MLIBDIR}" == "powerpc")
CPPFLAGS+= -DARCH_ELFSIZE=32
.else
CPPFLAGS+= -DARCH_ELFSIZE=64
.endif
.PATH: ${RUMPTOP}/librump/rumpkern/arch/generic
SRCS+= rump_generic_abi.c
SRCS+= rump_generic_c... | powerpc | gas-like | handwritten | NetBSD/src | sys/rump/librump/rumpkern/arch/powerpc/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/librump/rumpkern/arch/powerpc/Makefile.inc | 1 | 12 |
NetBSD/src:sys/rump/librump/rumpkern/arch/x86/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.2 2015/04/22 18:12:39 pooka Exp $
#
.PATH: ${RUMPTOP}/librump/rumpkern/arch/x86
SRCS+= rump_x86_cpu.c rump_x86_spl.c rump_x86_cpu_counter.c
SRCS+= rump_x86_spinlock.c rump_x86_pmap.c
SRCS+= rump_x86_abi.c | x86_64 | gas-like | handwritten | NetBSD/src | sys/rump/librump/rumpkern/arch/x86/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/librump/rumpkern/arch/x86/Makefile.inc | 1 | 8 |
NetBSD/src:sys/rump/librump/rumpkern/arch/x86_64/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.9 2018/11/15 04:59:02 riastradh Exp $
#
.include "${RUMPTOP}/librump/rumpkern/arch/x86/Makefile.inc"
.PATH: ${RUMPTOP}/../arch/amd64/amd64
SRCS+= kobj_machdep.c
.PATH: ${RUMPTOP}/librump/rumpkern/arch/generic
SRCS+= rump_generic_directmap.c | x86_64 | gas-like | handwritten | NetBSD/src | sys/rump/librump/rumpkern/arch/x86_64/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/librump/rumpkern/arch/x86_64/Makefile.inc | 1 | 10 |
NetBSD/src:sys/rump/net/lib/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.10 2023/06/03 21:26:29 lukem Exp $
#
RUMPTOP= ${.CURDIR}/../../..
CWARNFLAGS.clang+= -Werror=constant-conversion
CWARNFLAGS= ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
.include "${RUMPTOP}/Makefile.rump" | unknown | gas-like | handwritten | NetBSD/src | sys/rump/net/lib/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/net/lib/Makefile.inc | 1 | 9 |
NetBSD/src:sys/rump/net/lib/libnetinet/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.16 2022/09/20 07:19:14 ozaki-r Exp $
#
.PATH: ${.CURDIR}/../../../../netinet
CPPFLAGS+= -DINET
# INET
SRCS+= in_proto.c igmp.c in.c in_offload.c in_pcb.c ip_carp.c ip_icmp.c\
ip_flow.c ip_input.c ip_reass.c ip_output.c raw_ip.c \
in_cksum.c cpu_in_cksum.c in4_cksum.c ip_encap.c portalgo... | riscv | gas-like | handwritten | NetBSD/src | sys/rump/net/lib/libnetinet/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/net/lib/libnetinet/Makefile.inc | 1 | 33 |
NetBSD/src:sys/rump/net/lib/libnetinet6/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.6 2021/03/08 20:43:22 christos Exp $
#
.PATH: ${.CURDIR}/../../../../netinet6
CPPFLAGS+= -DINET6
# INET6
SRCS+= dest6.c frag6.c icmp6.c in6.c in6_cksum.c in6_ifattach.c \
in6_offload.c in6_pcb.c in6_proto.c in6_src.c ip6_flow.c \
ip6_forward.c ip6_input.c ip6_mroute.c ip6_output.c \
m... | riscv | gas-like | handwritten | NetBSD/src | sys/rump/net/lib/libnetinet6/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/net/lib/libnetinet6/Makefile.inc | 1 | 20 |
NetBSD/src:sys/rump/net/lib/libnetipsec/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.1 2017/04/14 02:43:28 ozaki-r Exp $
#
.PATH: ${.CURDIR}/../../../../netipsec
CPPFLAGS+= -DIPSEC -DINET -DINET6
SRCS+= ipsec.c ipsec_netbsd.c key_debug.c xform_esp.c \
ipsec_input.c ipsec_output.c keysock.c xform_ipcomp.c \
ipsec_mbuf.c key.c xform_ah.c xform_ipip.c
# Add it once TCP_... | arm | gas-like | handwritten | NetBSD/src | sys/rump/net/lib/libnetipsec/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/rump/net/lib/libnetipsec/Makefile.inc | 1 | 17 |
NetBSD/src:sys/stand/efiboot/bootaa64/cache.S:1 | /* $NetBSD: cache.S,v 1.2 2018/09/07 17:30:32 jmcneill Exp $ */
/*-
* Copyright (c) 2014 Robin Randhawa
* Copyright (c) 2015 The FreeBSD Foundation
* All rights reserved.
*
* Portions of this software were developed by Andrew Turner
* under sponsorship from the FreeBSD Foundation
*
* Redistribution and use in ... | arm64 | gas-like | macro-heavy | NetBSD/src | sys/stand/efiboot/bootaa64/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootaa64/cache.S | 1 | 60 |
NetBSD/src:sys/stand/efiboot/bootaa64/cache.S:2 | .align 2
/*
* Macro to handle the cache. This takes the start address in x0, length
* in x1. It will corrupt x0, x1, x2, and x3.
*/
.macro cache_handle_range dcop = 0, ic = 0, icop = 0
.if \ic == 0
mrs x3, ctr_el0
ubfx x3, x3, #16, #4 /* x3 = D cache shift */
mov x2, #4 /* size of word */
lsl x3, x2, x3 /* ... | arm64 | gas-like | macro-heavy | NetBSD/src | sys/stand/efiboot/bootaa64/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootaa64/cache.S | 41 | 100 |
NetBSD/src:sys/stand/efiboot/bootaa64/cache.S:3 | ret
.endm
/*
* void aarch64_dcache_wbinv_range(vaddr_t, vsize_t)
*/
ENTRY(aarch64_dcache_wbinv_range)
cache_handle_range dcop = civac
END(aarch64_dcache_wbinv_range)
/*
* void aarch64_icache_inv_all(void)
*/
ENTRY(aarch64_icache_inv_all)
dsb ish
ic ialluis
dsb ish
isb
ret
END(aarch64_icache_inv_all)
/*
*... | arm64 | gas-like | macro-heavy | NetBSD/src | sys/stand/efiboot/bootaa64/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootaa64/cache.S | 81 | 138 |
NetBSD/src:sys/stand/efiboot/bootaa64/cache.S:4 | b 2f
1:
/* Disable MMU and dcache, CurrentEL = EL2 */
mrs x0, sctlr_el2
bic x0, x0, #SCTLR_M
bic x0, x0, #SCTLR_C
msr sctlr_el2, x0
isb
2:
/* Jump to kernel */
mov x0, x21
mov x1, xzr
mov x2, xzr
mov x3, xzr
br x20
END(aarch64_exec_kernel) | arm64 | gas-like | macro-heavy | NetBSD/src | sys/stand/efiboot/bootaa64/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootaa64/cache.S | 121 | 138 |
NetBSD/src:sys/stand/efiboot/bootarm/cache.S:1 | /*-
* Copyright (c) 2010 Per Odlund <per.odlund@armagedon.se>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | arm64 | gas-like | handwritten | NetBSD/src | sys/stand/efiboot/bootarm/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootarm/cache.S | 1 | 60 |
NetBSD/src:sys/stand/efiboot/bootarm/cache.S:2 | lsl r2, ip, r2 @ and shift into position
sub ip, r2, #1 @ make into a mask
and r3, r0, ip @ get offset into cache line
add r1, r1, r3 @ add to length
bic r0, r0, ip @ clear offset from start.
dsb
1:
mcr p15, 0, r0, c7, c14, 1 @ wb and inv the D-Cache line to PoC
add r0, r0, r2
subs r1, r1, r2
bhi 1b
dsb ... | arm64 | gas-like | handwritten | NetBSD/src | sys/stand/efiboot/bootarm/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootarm/cache.S | 41 | 100 |
NetBSD/src:sys/stand/efiboot/bootarm/cache.S:3 | ubfx ip, r0, #3, #10 @ get numways - 1 from [to be discarded] CCSIDR
clz r2, ip @ number of bits to MSB of way
lsl ip, ip, r2 @ shift by that into way position
mov r0, #1 @
lsl r2, r0, r2 @ r2 now contains the way decr
mov r0, r3 @ get sets/level (no way yet)
orr r3, r3, ip @ merge way into way/set/lev... | arm64 | gas-like | handwritten | NetBSD/src | sys/stand/efiboot/bootarm/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootarm/cache.S | 81 | 140 |
NetBSD/src:sys/stand/efiboot/bootarm/cache.S:4 | mrc p15, 1, r0, c0, c0, 0 @ read CCSIDR
ubfx r2, r0, #13, #15 @ get num sets - 1 from CCSIDR
ubfx r3, r0, #3, #10 @ get numways - 1 from CCSIDR
clz r1, r3 @ number of bits to MSB of way
lsl r3, r3, r1 @ shift into position
mov ip, #1 @
lsl ip, ip, r1 @ ip now contains the way decr
ubfx r0, r0, #0, #3 @... | arm64 | gas-like | handwritten | NetBSD/src | sys/stand/efiboot/bootarm/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootarm/cache.S | 121 | 179 |
NetBSD/src:sys/stand/efiboot/bootarm/cache.S:5 | bic r0, r0, #5 @ disable dcache and MMU
mcr p15, 0, r0, c1, c0, 0 @ SCTLR write
/* Invalidate TLB */
dsb
mov r0, #0
mcr p15, 0, r0, c8, c7, 0 @ flush I+D TLB
dsb
isb
/* Setup kernel args */
mov r0, #0
mov r1, #0
mov r2, r5
mov r3, #0
/* Jump to kernel */
bx r4
END(armv7_exec_kernel) | arm64 | gas-like | handwritten | NetBSD/src | sys/stand/efiboot/bootarm/cache.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/sys/stand/efiboot/bootarm/cache.S | 161 | 179 |
NetBSD/src:sys/stand/efiboot/bootarm/cache.S:1 | /*-
* Copyright (c) 2010 Per Odlund <per.odlund@armagedon.se>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of condit... | arm64 | gas-like | handwritten | NetBSD/src | sys/stand/efiboot/bootarm/cache.S | BSD-2-Clause | 3a3e6e6861107fa30395b99abb65697f94ef1bf8 | github | kernel | https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/stand/efiboot/bootarm/cache.S | 1 | 60 |
NetBSD/src:sys/stand/efiboot/bootarm/cache.S:2 | lsl r2, ip, r2 @ and shift into position
sub ip, r2, #1 @ make into a mask
and r3, r0, ip @ get offset into cache line
add r1, r1, r3 @ add to length
bic r0, r0, ip @ clear offset from start.
dsb
1:
mcr p15, 0, r0, c7, c14, 1 @ wb and inv the D-Cache line to PoC
add r0, r0, r2
subs r1, r1, r2
bhi 1b
dsb ... | arm64 | gas-like | handwritten | NetBSD/src | sys/stand/efiboot/bootarm/cache.S | BSD-2-Clause | 3a3e6e6861107fa30395b99abb65697f94ef1bf8 | github | kernel | https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/stand/efiboot/bootarm/cache.S | 41 | 100 |
NetBSD/src:sys/stand/efiboot/bootarm/cache.S:3 | beq 2f @ at 0 means we are done.
lsls r0, r0, #10 @ clear way bits leaving only set bits
subne r3, r3, r1 @ non-zero?, decrement set #
subeq r3, r3, r2 @ zero?, decrement way # and restore set count
b 1b
2: dsb @ wait for stores to finish
mov r0, #0 @ and ...
mcr p15, 0, r0, c7, c5, 0 @ invalidate L1 c... | arm64 | gas-like | handwritten | NetBSD/src | sys/stand/efiboot/bootarm/cache.S | BSD-2-Clause | 3a3e6e6861107fa30395b99abb65697f94ef1bf8 | github | kernel | https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/sys/stand/efiboot/bootarm/cache.S | 81 | 118 |
NetBSD/src:tests/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.11 2023/04/24 20:35:49 uwe Exp $
WARNS ?= 4
CWARNFLAGS+= -Wno-missing-noreturn
TOOLSSRCDIR:= ${.PARSEDIR}
CPPFLAGS+= -I${TOOLSSRCDIR}
.if ${RUMPFIFO:Uno} == "yes"
LIBRUMPFIFO_PRE = -lrumpvfs_fifofs -lrumpnet_local -lrumpnet_net -lrumpnet
.endif
LIBRUMPFIFO = -lrumpvfs_nofifofs
LIBRUMPBASE = ... | arm64 | gas-like | handwritten | NetBSD/src | tests/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/tests/Makefile.inc | 1 | 14 |
NetBSD/src:tests/crypto/libcrypto/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.14 2025/10/19 00:59:59 riastradh Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
TESTSDIR= ${TESTSBASE}/crypto/libcrypto
ATFFILE= no
.if defined(HELPER_NAME)
HELPER_SRCS?= ${HELPER_NAME}.c
PROG= h_${HELPER_NAME}
SRCS= ${HELPER_SRCS}
MAN= # empty
BINDIR= ${TESTSDIR}
CWARNFLAGS.... | riscv | gas-like | handwritten | NetBSD/src | tests/crypto/libcrypto/Makefile.inc | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/tests/crypto/libcrypto/Makefile.inc | 1 | 41 |
NetBSD/src:tests/crypto/libcrypto/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.13 2025/07/21 22:17:56 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
TESTSDIR= ${TESTSBASE}/crypto/libcrypto
ATFFILE= no
.if defined(HELPER_NAME)
HELPER_SRCS?= ${HELPER_NAME}.c
PROG= h_${HELPER_NAME}
SRCS= ${HELPER_SRCS}
MAN= # empty
BINDIR= ${TESTSDIR}
CWARNFLAGS.c... | riscv | gas-like | handwritten | NetBSD/src | tests/crypto/libcrypto/Makefile.inc | BSD-2-Clause | 33ebedbda9ab9d7301695391e9b2076d2ab25c48 | github | kernel | https://github.com/NetBSD/src/blob/33ebedbda9ab9d7301695391e9b2076d2ab25c48/tests/crypto/libcrypto/Makefile.inc | 1 | 41 |
NetBSD/src:tests/crypto/libcrypto/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.12 2025/07/19 11:36:10 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
TESTSDIR= ${TESTSBASE}/crypto/libcrypto
ATFFILE= no
.if defined(HELPER_NAME)
HELPER_SRCS?= ${HELPER_NAME}.c
PROG= h_${HELPER_NAME}
SRCS= ${HELPER_SRCS}
MAN= # empty
BINDIR= ${TESTSDIR}
CWARNFLAGS.c... | riscv | gas-like | handwritten | NetBSD/src | tests/crypto/libcrypto/Makefile.inc | BSD-2-Clause | d0cd36f055bcefd581218111095266acf2b52a18 | github | kernel | https://github.com/NetBSD/src/blob/d0cd36f055bcefd581218111095266acf2b52a18/tests/crypto/libcrypto/Makefile.inc | 1 | 39 |
NetBSD/src:tests/crypto/libcrypto/Makefile.inc:1 | # $NetBSD: Makefile.inc,v 1.11 2023/05/08 17:46:06 christos Exp $
.include <bsd.own.mk>
.include "../Makefile.inc"
TESTSDIR= ${TESTSBASE}/crypto/libcrypto
ATFFILE= no
.if defined(HELPER_NAME)
HELPER_SRCS?= ${HELPER_NAME}.c
PROG= h_${HELPER_NAME}
SRCS= ${HELPER_SRCS}
MAN= # empty
BINDIR= ${TESTSDIR}
CWARNFLAGS.c... | riscv | gas-like | handwritten | NetBSD/src | tests/crypto/libcrypto/Makefile.inc | BSD-2-Clause | 3a3e6e6861107fa30395b99abb65697f94ef1bf8 | github | kernel | https://github.com/NetBSD/src/blob/3a3e6e6861107fa30395b99abb65697f94ef1bf8/tests/crypto/libcrypto/Makefile.inc | 1 | 39 |
NetBSD/src:tests/kernel/arch/aarch64/execsp.S:1 | /* $NetBSD: execsp.S,v 1.3 2025/06/04 19:25:45 christos Exp $ */
/*-
* Copyright (c) 2025 The NetBSD Foundation, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/execsp.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/tests/kernel/arch/aarch64/execsp.S | 1 | 60 |
NetBSD/src:tests/kernel/arch/aarch64/execsp.S:2 | */
ENTRY(execsp_start)
mov x16, sp
adrp x17, _C_LABEL(startsp)
str x16, [x17, :lo12:_C_LABEL(startsp)]
b _C_LABEL(__start)
END(execsp_start)
/*
* void execsp_ctor(void)
*
* ELF constructor. Saves the stack pointer in ctorsp and
* returns.
*/
ENTRY(execsp_ctor)
mov x16, sp
adrp x17, _C_LABEL(ctorsp)
str x1... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/execsp.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/tests/kernel/arch/aarch64/execsp.S | 41 | 99 |
NetBSD/src:tests/kernel/arch/aarch64/execsp.S:3 | /*
* void execsp_dtor(void)
*
* ELF destructor. Saves the stack pointer in dtorsp and defers
* to the C execsp_main in h_execsp.c to report the stack pointers
* back to the t_signal_and_sp parent.
*/
ENTRY(execsp_dtor)
mov x16, sp
adrp x17, _C_LABEL(dtorsp)
str x16, [x17, :lo12:_C_LABEL(dtorsp)]
b _C_LABEL(e... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/execsp.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/tests/kernel/arch/aarch64/execsp.S | 81 | 99 |
NetBSD/src:tests/kernel/arch/aarch64/execsp.S:1 | /* $NetBSD: execsp.S,v 1.2 2025/04/20 22:31:25 riastradh Exp $ */
/*-
* Copyright (c) 2025 The NetBSD Foundation, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribution... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/execsp.S | BSD-2-Clause | 5f0dc2c41424bac49a6dc8f360b501606009fa43 | github | kernel | https://github.com/NetBSD/src/blob/5f0dc2c41424bac49a6dc8f360b501606009fa43/tests/kernel/arch/aarch64/execsp.S | 1 | 60 |
NetBSD/src:tests/kernel/arch/aarch64/execsp.S:2 | */
ENTRY(execsp_start)
mov x16, sp
adrp x17, :pg_hi21:_C_LABEL(startsp)
str x16, [x17, #:lo12:_C_LABEL(startsp)]
b _C_LABEL(__start)
END(execsp_start)
/*
* void execsp_ctor(void)
*
* ELF constructor. Saves the stack pointer in ctorsp and
* returns.
*/
ENTRY(execsp_ctor)
mov x16, sp
adrp x17, :pg_hi21:_C_LA... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/execsp.S | BSD-2-Clause | 5f0dc2c41424bac49a6dc8f360b501606009fa43 | github | kernel | https://github.com/NetBSD/src/blob/5f0dc2c41424bac49a6dc8f360b501606009fa43/tests/kernel/arch/aarch64/execsp.S | 41 | 99 |
NetBSD/src:tests/kernel/arch/aarch64/execsp.S:3 | /*
* void execsp_dtor(void)
*
* ELF destructor. Saves the stack pointer in dtorsp and defers
* to the C execsp_main in h_execsp.c to report the stack pointers
* back to the t_signal_and_sp parent.
*/
ENTRY(execsp_dtor)
mov x16, sp
adrp x17, :pg_hi21:_C_LABEL(dtorsp)
str x16, [x17, #:lo12:_C_LABEL(dtorsp)]
b ... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/execsp.S | BSD-2-Clause | 5f0dc2c41424bac49a6dc8f360b501606009fa43 | github | kernel | https://github.com/NetBSD/src/blob/5f0dc2c41424bac49a6dc8f360b501606009fa43/tests/kernel/arch/aarch64/execsp.S | 81 | 99 |
NetBSD/src:tests/kernel/arch/aarch64/execsp.S:1 | /* $NetBSD: execsp.S,v 1.1 2025/04/20 22:31:00 riastradh Exp $ */
/*-
* Copyright (c) 2025 The NetBSD Foundation, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribution... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/execsp.S | BSD-2-Clause | 4bad299d383cef047eda34f68ee50df74e1339d6 | github | kernel | https://github.com/NetBSD/src/blob/4bad299d383cef047eda34f68ee50df74e1339d6/tests/kernel/arch/aarch64/execsp.S | 1 | 60 |
NetBSD/src:tests/kernel/arch/aarch64/h_execregs.S:1 | /* $NetBSD: h_execregs.S,v 1.2 2025/04/25 12:58:40 riastradh Exp $ */
/*-
* Copyright (c) 2025 The NetBSD Foundation, Inc.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistribu... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/h_execregs.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/tests/kernel/arch/aarch64/h_execregs.S | 1 | 60 |
NetBSD/src:tests/kernel/arch/aarch64/h_execregs.S:2 | /* store registers to buffer on stack */
stp x0, x1, [sp, #16] /* order matches execregs.h */
/* x2: ps_strings */
stp x3, x4, [sp, #(16 + 1*2*8)]
stp x5, x6, [sp, #(16 + 2*2*8)]
stp x7, x8, [sp, #(16 + 3*2*8)]
stp x9, x10, [sp, #(16 + 4*2*8)]
stp x11, x12, [sp, #(16 + 5*2*8)]
stp x13, x14, [sp, #(16 + 6*2*8)]
... | arm64 | gas-like | handwritten | NetBSD/src | tests/kernel/arch/aarch64/h_execregs.S | BSD-2-Clause | 3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd | github | kernel | https://github.com/NetBSD/src/blob/3f1390c8cc18c3f67a4bd2632f8c7ad919cf86fd/tests/kernel/arch/aarch64/h_execregs.S | 41 | 84 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.