repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
aixcc-public/challenge-001-exemplar-source
1,066
arch/hexagon/lib/modsi3.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2021, The Linux Foundation. All rights reserved. */ #include <linux/linkage.h> SYM_FUNC_START(__hexagon_modsi3) { p2 = cmp.ge(r0,#0) r2 = abs(r0) r1 = abs(r1) } { r3...
aixcc-public/challenge-001-exemplar-source
1,551
arch/hexagon/mm/copy_to_user.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * User memory copying routines for the Hexagon Kernel * * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ /* The right way to do this involves valignb * The easy way to do this is only speed up src/dest similar alignment. */ /* * Copy to/fro...
aixcc-public/challenge-001-exemplar-source
2,667
arch/hexagon/mm/copy_user_template.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ /* Numerology: * WXYZ * W: width in bytes * X: Load=0, Store=1 * Y: Location 0=preamble,8=loop,9=epilog * Z: Location=0,handler=9 */ .text .global FUNCNAME .type FUNCNAME, @function .p2al...
aixcc-public/challenge-001-exemplar-source
1,687
arch/hexagon/mm/copy_from_user.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * User memory copy functions for kernel * * Copyright (c) 2010-2011, The Linux Foundation. All rights reserved. */ /* * The right way to do this involves valignb * The easy way to do this is only speed up src/dest similar alignment. */ /* * Copy to/from user are ...
aixcc-public/challenge-001-exemplar-source
10,946
arch/parisc/kernel/head.S
/* This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 1999-2007 by Helge Deller <deller@gmx.de> * Copyright 1999 SuSE GmbH (Philipp Rumpf) * Copyright 1999 Philipp Rumpf (prumpf@t...
aixcc-public/challenge-001-exemplar-source
54,703
arch/parisc/kernel/entry.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * * kernel entry points (interruptions, system call wrappers) * Copyright (C) 1999,2000 Philipp Rumpf * Copyright (C) 1999 SuSE GmbH Nuernberg * Copyright (C) 2000 Hewlett-Packard (John Marvin) * Copyr...
aixcc-public/challenge-001-exemplar-source
32,138
arch/parisc/kernel/pacache.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * PARISC TLB and cache flushing support * Copyright (C) 2000-2001 Hewlett-Packard (John Marvin) * Copyright (C) 2001 Matthew Wilcox (willy at parisc-linux.org) * Copyright (C) 2002 Richard Hirst (rhirst with parisc-linux.org) */ /* * NOTE: fdc,fic, and pdc i...
aixcc-public/challenge-001-exemplar-source
2,874
arch/parisc/kernel/relocate_kernel.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <linux/kexec.h> #include <asm/assembly.h> #include <asm/asm-offsets.h> #include <asm/page.h> #include <asm/setup.h> #include <asm/psw.h> .level PA_ASM_LEVEL .macro kexec_param name .align 8 ENTRY(kexec\()_\name) #ifdef CONFIG_64BIT .dword 0 ...
aixcc-public/challenge-001-exemplar-source
37,188
arch/parisc/kernel/syscall.S
/* * Linux/PA-RISC Project (http://www.parisc-linux.org/) * * System call entry code / Linux gateway page * Copyright (c) Matthew Wilcox 1999 <willy@infradead.org> * Licensed under the GNU GPL. * thanks to Philipp Rumpf, Mike Shaver and various others * sorry about the wall, puffin.. */ /* How does the Linux...
aixcc-public/challenge-001-exemplar-source
7,197
arch/parisc/kernel/hpmc.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * HPMC (High Priority Machine Check) handler. * * Copyright (C) 1999 Philipp Rumpf <prumpf@tux.org> * Copyright (C) 1999 Hewlett-Packard (Frank Rowand) * Copyright (C) 2000 Hewlett-Packard (John Marvin) */ /* * This HPMC handler retrieves the HPMC pim data, r...
aixcc-public/challenge-001-exemplar-source
25,455
arch/parisc/kernel/perf_asm.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* low-level asm for "intrigue" (PA8500-8700 CPU perf counters) * * Copyright (C) 2001 Randolph Chung <tausq at parisc-linux.org> * Copyright (C) 2001 Hewlett-Packard (Grant Grundler) */ #include <asm/assembly.h> #include <linux/init.h> #include <linux/li...
aixcc-public/challenge-001-exemplar-source
1,442
arch/parisc/kernel/toc_asm.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* TOC (Transfer of Control) handler. */ .level 1.1 #include <asm/assembly.h> #include <linux/threads.h> #include <linux/linkage.h> .text .import toc_intr,code .import toc_stack,data .align 16 ENTRY_CFI(toc_handler) load32 PA(toc_stack),%sp #ifdef CONFIG_SMP /...
aixcc-public/challenge-001-exemplar-source
3,933
arch/parisc/kernel/vmlinux.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ /* Kernel link layout for various "sections" * * Copyright (C) 1999-2003 Matthew Wilcox <willy at parisc-linux.org> * Copyright (C) 2000-2003 Paul Bame <bame at parisc-linux.org> * Copyright (C) 2000 John Marvin <jsm at parisc-linux.org> * Copyright (C) 2000 Mi...
aixcc-public/challenge-001-exemplar-source
6,579
arch/parisc/kernel/real2.S
/* * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2000 Hewlett Packard (Paul Bame bame@puffin.external.hp.com) * */ #include <asm/pdc.h> #include <asm/psw.h> #include <...
aixcc-public/challenge-001-exemplar-source
8,979
arch/parisc/lib/lusercopy.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * User Space Access Routines * * Copyright (C) 2000-2002 Hewlett-Packard (John Marvin) * Copyright (C) 2000 Richard Hirst <rhirst with parisc-linux.org> * Copyright (C) 2001 Matthieu Delahaye <delahaym at esiee.fr> * Copyright (C) 2003 Randolph Chu...
aixcc-public/challenge-001-exemplar-source
4,280
arch/parisc/kernel/vdso32/sigtramp.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Signal trampolines for 32 bit processes. * * Copyright (C) 2006 Randolph Chung <tausq@debian.org> * Copyright (C) 2018-2022 Helge Deller <deller@gmx.de> * Copyright (C) 2022 John David Anglin <dave.anglin@bell.net> */ #include <asm/unistd.h> #include <linux/linkage.h> #...
aixcc-public/challenge-001-exemplar-source
2,777
arch/parisc/kernel/vdso32/vdso32.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * This is the infamous ld script for the 32 bits vdso library */ #include <asm/vdso.h> #include <asm/page.h> /* Default link addresses for the vDSOs */ OUTPUT_FORMAT("elf32-hppa-linux") OUTPUT_ARCH(hppa) ENTRY(_start) SECTIONS { . = VDSO_LBASE + SIZEOF_HEADERS; .hash ...
aixcc-public/challenge-001-exemplar-source
3,879
arch/parisc/kernel/vdso64/sigtramp.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Signal trampolines for 64 bit processes. * * Copyright (C) 2006 Randolph Chung <tausq@debian.org> * Copyright (C) 2018-2022 Helge Deller <deller@gmx.de> * Copyright (C) 2022 John David Anglin <dave.anglin@bell.net> */ #include <asm/unistd.h> #include <linux/linkage.h> #...
aixcc-public/challenge-001-exemplar-source
2,730
arch/parisc/kernel/vdso64/vdso64.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * This is the infamous ld script for the 64 bits vdso library */ #include <asm/vdso.h> /* Default link addresses for the vDSOs */ OUTPUT_FORMAT("elf64-hppa-linux") OUTPUT_ARCH(hppa:hppa2.0w) ENTRY(_start) SECTIONS { . = VDSO_LBASE + SIZEOF_HEADERS; .hash : { *...
aixcc-public/challenge-001-exemplar-source
1,690
arch/parisc/boot/compressed/head.S
/* * Startup glue code to uncompress the kernel * * (C) 2017 Helge Deller <deller@gmx.de> */ #include <linux/init.h> #include <linux/linkage.h> #include <asm/asm-offsets.h> #include <asm/page.h> #include <asm/psw.h> #include <asm/pdc.h> #include <asm/assembly.h> #include "sizes.h" #define BOOTADDR(x) (x) #ifnd...
aixcc-public/challenge-001-exemplar-source
1,735
arch/parisc/boot/compressed/vmlinux.lds.S
#include <asm-generic/vmlinux.lds.h> #include <asm/page.h> #include "sizes.h" #ifndef CONFIG_64BIT OUTPUT_FORMAT("elf32-hppa-linux") OUTPUT_ARCH(hppa) #else OUTPUT_FORMAT("elf64-hppa-linux") OUTPUT_ARCH(hppa:hppa2.0w) #endif ENTRY(startup) SECTIONS { /* palo loads at 0x60000 */ /* loaded kernel will move to 0x1000...
aixcc-public/challenge-001-exemplar-source
2,351
arch/sparc/power/hibernate_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * hibernate_asm.S: Hibernaton support specific for sparc64. * * Copyright (C) 2013 Kirill V Tkhai (tkhai@yandex.ru) */ #include <linux/linkage.h> #include <asm/asm-offsets.h> #include <asm/cpudata.h> #include <asm/page.h> ENTRY(swsusp_arch_suspend) save %sp, -128, %sp ...
aixcc-public/challenge-001-exemplar-source
2,243
arch/sparc/vdso/vdso-layout.lds.S
/* * Linker script for vDSO. This is an ELF shared object prelinked to * its virtual address, and with only one read-only segment. * This script controls its layout. */ #if defined(BUILD_VDSO64) # define SHDR_SIZE 64 #elif defined(BUILD_VDSO32) # define SHDR_SIZE 40 #else # error unknown VDSO target #endif #defi...
aixcc-public/challenge-001-exemplar-source
5,966
arch/sparc/kernel/ktlb.S
/* SPDX-License-Identifier: GPL-2.0 */ /* arch/sparc64/kernel/ktlb.S: Kernel mapping TLB miss handling. * * Copyright (C) 1995, 1997, 2005, 2008 David S. Miller <davem@davemloft.net> * Copyright (C) 1996 Eddie C. Dost (ecd@brainaid.de) * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) * Cop...
aixcc-public/challenge-001-exemplar-source
8,348
arch/sparc/kernel/etrap_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * etrap.S: Sparc trap window preparation for entry into the * Linux kernel. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #include <asm/head.h> #include <asm/asi.h> #include <asm/contregs.h> #include <asm/page.h> #include <asm/psr.h> #include...
aixcc-public/challenge-001-exemplar-source
7,299
arch/sparc/kernel/sys32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * sys32.S: I-cache tricks for 32-bit compatibility layer simple * conversions. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) */ #include <asm/errno.h> /* NOTE: call as jump breaks return...
aixcc-public/challenge-001-exemplar-source
15,258
arch/sparc/kernel/cherrs.S
/* SPDX-License-Identifier: GPL-2.0 */ /* These get patched into the trap table at boot time * once we know we have a cheetah processor. */ .globl cheetah_fecc_trap_vector .type cheetah_fecc_trap_vector,#function cheetah_fecc_trap_vector: membar #Sync ldxa [%g0] ASI_DCU_CONTROL_REG, %g1 andn %g1, DCU_DC ...
aixcc-public/challenge-001-exemplar-source
12,094
arch/sparc/kernel/wof.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * wof.S: Sparc window overflow handler. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #include <asm/contregs.h> #include <asm/page.h> #include <asm/ptrace.h> #include <asm/psr.h> #include <asm/smp.h> #include <asm/asi.h> #include <asm/winmacro.h> #incl...
aixcc-public/challenge-001-exemplar-source
3,122
arch/sparc/kernel/una_asm_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* una_asm.S: Kernel unaligned trap assembler helpers. * * Copyright (C) 1996,2005 David S. Miller (davem@davemloft.net) * Copyright (C) 1996,1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ .text .globl __do_int_store __do_int_store: rd %asi, %o4 wr %o3, 0, %asi mov %o2,...
aixcc-public/challenge-001-exemplar-source
16,338
arch/sparc/kernel/hvcalls.S
/* SPDX-License-Identifier: GPL-2.0 */ /* %o0: devhandle * %o1: devino * * returns %o0: sysino */ ENTRY(sun4v_devino_to_sysino) mov HV_FAST_INTR_DEVINO2SYSINO, %o5 ta HV_FAST_TRAP retl mov %o1, %o0 ENDPROC(sun4v_devino_to_sysino) /* %o0: sysino * * returns %o0: intr_enabled (HV_INTR_{DISABLED,ENABLE...
aixcc-public/challenge-001-exemplar-source
21,032
arch/sparc/kernel/ttable_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* The Sparc trap table, bootloader gives us control at _start. */ __HEAD .globl _start _start: .globl _stext _stext: .globl trapbase trapbase: #ifdef CONFIG_SMP trapbase_cpu0: #endif /* We get control passed to us here at t_zero. */ t_zero: b gokernel; nop...
aixcc-public/challenge-001-exemplar-source
9,362
arch/sparc/kernel/trampoline_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * trampoline.S: Jump start slave processors on sparc64. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #include <linux/pgtable.h> #include <asm/head.h> #include <asm/asi.h> #include <asm/lsu.h> #include <asm/dcr.h> #include <asm/dcu.h> #include <asm/ps...
aixcc-public/challenge-001-exemplar-source
7,593
arch/sparc/kernel/pci_sun4v_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* pci_sun4v_asm: Hypervisor calls for PCI support. * * Copyright (C) 2006, 2008 David S. Miller <davem@davemloft.net> */ #include <linux/linkage.h> #include <asm/hypervisor.h> /* %o0: devhandle * %o1: tsbid * %o2: num ttes * %o3: io_attributes * %o4: io_page_list ph...
aixcc-public/challenge-001-exemplar-source
28,628
arch/sparc/kernel/entry.S
/* SPDX-License-Identifier: GPL-2.0 */ /* arch/sparc/kernel/entry.S: Sparc trap low-level entry points. * * Copyright (C) 1995, 2007 David S. Miller (davem@davemloft.net) * Copyright (C) 1996 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) * Copyright (C) 1996-1999 Ja...
aixcc-public/challenge-001-exemplar-source
11,128
arch/sparc/kernel/ttable_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* ttable.S: Sparc V9 Trap Table(s) with SpitFire/Cheetah/SUN4V extensions. * * Copyright (C) 1996, 2001, 2006 David S. Miller (davem@davemloft.net) */ .globl sparc64_ttable_tl0, sparc64_ttable_tl1 .globl tl0_icpe, tl1_icpe .globl tl0_dcpe, tl1_dcpe .globl tl0_fecc, tl1_f...
aixcc-public/challenge-001-exemplar-source
5,767
arch/sparc/kernel/rtrap_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * rtrap.S: Return from Sparc trap low-level code. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) */ #include <asm/page.h> #include <asm/ptrace.h> #include <asm/psr.h> #include <asm/asi.h> #include <asm/smp.h> #include <asm/contregs.h> #include <asm/winmacr...
aixcc-public/challenge-001-exemplar-source
3,954
arch/sparc/kernel/trampoline_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * trampoline.S: SMP cpu boot-up trampoline code. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #include <asm/head.h> #include <asm/psr.h> #include <asm/page.h> #include <asm/asi.h> #include <...
aixcc-public/challenge-001-exemplar-source
10,836
arch/sparc/kernel/sun4v_tlb_miss.S
/* SPDX-License-Identifier: GPL-2.0 */ /* sun4v_tlb_miss.S: Sun4v TLB miss handlers. * * Copyright (C) 2006 <davem@davemloft.net> */ .text .align 32 /* Load ITLB fault information into VADDR and CTX, using BASE. */ #define LOAD_ITLB_INFO(BASE, VADDR, CTX) \ ldx [BASE + HV_FAULT_I_ADDR_OFFSET], VADDR; \ ldx [...
aixcc-public/challenge-001-exemplar-source
2,022
arch/sparc/kernel/urtt_fill.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm/thread_info.h> #include <asm/trap_block.h> #include <asm/spitfire.h> #include <asm/ptrace.h> #include <asm/head.h> .text .align 8 .globl user_rtt_fill_fixup_common user_rtt_fill_fixup_common: rdpr %cwp, %g1 add %g1, 1, %g1 wrpr %g1, 0x0, %cwp rdpr %ws...
aixcc-public/challenge-001-exemplar-source
9,073
arch/sparc/kernel/sun4v_ivec.S
/* SPDX-License-Identifier: GPL-2.0 */ /* sun4v_ivec.S: Sun4v interrupt vector handling. * * Copyright (C) 2006 <davem@davemloft.net> */ #include <asm/cpudata.h> #include <asm/intr_queue.h> #include <asm/pil.h> .text .align 32 sun4v_cpu_mondo: /* Head offset in %g2, tail offset in %g4. * If they are the same...
aixcc-public/challenge-001-exemplar-source
13,575
arch/sparc/kernel/tsb.S
/* SPDX-License-Identifier: GPL-2.0 */ /* tsb.S: Sparc64 TSB table handling. * * Copyright (C) 2006 David S. Miller <davem@davemloft.net> */ #include <asm/tsb.h> #include <asm/hypervisor.h> #include <asm/page.h> #include <asm/cpudata.h> #include <asm/mmu.h> .text .align 32 /* Invoked from TLB miss handler, we...
aixcc-public/challenge-001-exemplar-source
7,179
arch/sparc/kernel/spiterrs.S
/* SPDX-License-Identifier: GPL-2.0 */ /* We need to carefully read the error status, ACK the errors, * prevent recursive traps, and pass the information on to C * code for logging. * * We pass the AFAR in as-is, and we encode the status * information as described in asm-sparc64/sfafsr.h */ .type __spitf...
aixcc-public/challenge-001-exemplar-source
19,367
arch/sparc/kernel/head_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * head.S: The initial boot code for the Sparc port of Linux. * * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1995,1999 Pete Zaitcev (zaitcev@yahoo.com) * Copyright (C) 1996 Miguel de Icaza (miguel@nuclecu.unam.mx) * Copyright (C) 1997 Jak...
aixcc-public/challenge-001-exemplar-source
1,477
arch/sparc/kernel/helpers.S
/* SPDX-License-Identifier: GPL-2.0-only */ .align 32 .globl __flushw_user .type __flushw_user,#function __flushw_user: rdpr %otherwin, %g1 brz,pn %g1, 2f clr %g2 1: save %sp, -128, %sp rdpr %otherwin, %g1 brnz,pt %g1, 1b add %g2, 1, %g2 1: sub %g2, 1, %g2 brnz,pt %g2, 1b restore %g0, %g0, %g0 2: retl n...
aixcc-public/challenge-001-exemplar-source
2,983
arch/sparc/kernel/una_asm_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* una_asm.S: Kernel unaligned trap assembler helpers. * * Copyright (C) 1996,2005,2008 David S. Miller (davem@davemloft.net) * Copyright (C) 1996,1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #include <linux/errno.h> .text retl_efault: retl mov -EFAULT, %o0 /* int _...
aixcc-public/challenge-001-exemplar-source
1,377
arch/sparc/kernel/dtlb_prot.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * dtlb_prot.S: DTLB protection trap strategy. * This is included directly into the trap table. * * Copyright (C) 1996,1998 David S. Miller (davem@redhat.com) * Copyright (C) 1997,1998 Jakub Jelinek (jj@ultra.linux.cz) */ /* Ways we can get here: * * [TL ...
aixcc-public/challenge-001-exemplar-source
3,986
arch/sparc/kernel/winfixup.S
/* SPDX-License-Identifier: GPL-2.0 */ /* winfixup.S: Handle cases where user stack pointer is found to be bogus. * * Copyright (C) 1997, 2006 David S. Miller (davem@davemloft.net) */ #include <asm/asi.h> #include <asm/head.h> #include <asm/page.h> #include <asm/ptrace.h> #include <asm/processor.h> #include <asm/sp...
aixcc-public/challenge-001-exemplar-source
10,382
arch/sparc/kernel/rtrap_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * rtrap.S: Preparing for return from trap on Sparc V9. * * Copyright (C) 1997,1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #include <asm/asi.h> #include <asm/pstate.h> #include <asm/ptrace.h> #include <asm/s...
aixcc-public/challenge-001-exemplar-source
1,208
arch/sparc/kernel/ivec.S
/* SPDX-License-Identifier: GPL-2.0 */ /* The registers for cross calls will be: * * DATA 0: [low 32-bits] Address of function to call, jmp to this * [high 32-bits] MMU Context Argument 0, place in %g5 * DATA 1: Address Argument 1, place in %g1 * DATA 2: Address Argument 2, place in %g7 * * With...
aixcc-public/challenge-001-exemplar-source
3,623
arch/sparc/kernel/vmlinux.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ /* ld script for sparc32/sparc64 kernel */ #include <asm-generic/vmlinux.lds.h> #include <asm/page.h> #include <asm/thread_info.h> #ifdef CONFIG_SPARC32 #define INITIAL_ADDRESS 0x10000 + SIZEOF_HEADERS #define TEXTSTART 0xf0004000 #define SMP_CACHE_BYTES_SHIFT 5 #else #defin...
aixcc-public/challenge-001-exemplar-source
8,614
arch/sparc/kernel/wuf.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * wuf.S: Window underflow trap handler for the Sparc. * * Copyright (C) 1995 David S. Miller */ #include <asm/contregs.h> #include <asm/page.h> #include <asm/ptrace.h> #include <asm/psr.h> #include <asm/smp.h> #include <asm/asi.h> #include <asm/winmacro.h> #include <asm/as...
aixcc-public/challenge-001-exemplar-source
8,358
arch/sparc/kernel/fpu_traps.S
/* SPDX-License-Identifier: GPL-2.0 */ /* This is trivial with the new code... */ .globl do_fpdis .type do_fpdis,#function do_fpdis: sethi %hi(TSTATE_PEF), %g4 rdpr %tstate, %g5 andcc %g5, %g4, %g0 be,pt %xcc, 1f nop rd %fprs, %g5 andcc %g5, FPRS_FEF, %g0 be,pt %xcc, 1f nop /* Legal state when ...
aixcc-public/challenge-001-exemplar-source
2,705
arch/sparc/kernel/hvtramp.S
/* SPDX-License-Identifier: GPL-2.0 */ /* hvtramp.S: Hypervisor start-cpu trampoline code. * * Copyright (C) 2007, 2008 David S. Miller <davem@davemloft.net> */ #include <asm/thread_info.h> #include <asm/hypervisor.h> #include <asm/scratchpad.h> #include <asm/spitfire.h> #include <asm/hvtramp.h> #include <asm/psta...
aixcc-public/challenge-001-exemplar-source
23,517
arch/sparc/kernel/head_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* head.S: Initial boot code for the Sparc64 port of Linux. * * Copyright (C) 1996, 1997, 2007 David S. Miller (davem@davemloft.net) * Copyright (C) 1996 David Sitsky (David.Sitsky@anu.edu.au) * Copyright (C) 1997, 1998 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 1...
aixcc-public/challenge-001-exemplar-source
7,235
arch/sparc/kernel/etrap_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * etrap.S: Preparing for entry into the kernel on Sparc V9. * * Copyright (C) 1996, 1997 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1997, 1998, 1999 Jakub Jelinek (jj@ultra.linux.cz) */ #include <asm/asi.h> #include <asm/pstate.h> #include <asm/ptrace.h> #i...
aixcc-public/challenge-001-exemplar-source
2,080
arch/sparc/kernel/misctrap.S
/* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_KGDB .globl arch_kgdb_breakpoint .type arch_kgdb_breakpoint,#function arch_kgdb_breakpoint: ta 0x72 retl nop .size arch_kgdb_breakpoint,.-arch_kgdb_breakpoint #endif .type __do_privact,#function __do_privact: mov TLB_SFSR, %g3 stxa %g0, [%g3] ASI_DM...
aixcc-public/challenge-001-exemplar-source
7,674
arch/sparc/kernel/syscalls.S
/* SPDX-License-Identifier: GPL-2.0 */ /* SunOS's execv() call only specifies the argv argument, the * environment settings are the same as the calling processes. */ sys64_execve: set sys_execve, %g1 jmpl %g1, %g0 flushw sys64_execveat: set sys_execveat, %g1 jmpl %g1, %g0 flushw #ifdef CONFIG_COMPAT suno...
aixcc-public/challenge-001-exemplar-source
39,199
arch/sparc/crypto/aes_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/visasm.h> #include "opcodes.h" #define ENCRYPT_TWO_ROUNDS(KEY_BASE, I0, I1, T0, T1) \ AES_EROUND01(KEY_BASE + 0, I0, I1, T0) \ AES_EROUND23(KEY_BASE + 2, I0, I1, T1) \ AES_EROUND01(KEY_BASE + 4, T0, T1, I0) \ AES_EROUND23(KEY_BASE ...
aixcc-public/challenge-001-exemplar-source
9,645
arch/sparc/crypto/des_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/visasm.h> #include "opcodes.h" .align 32 ENTRY(des_sparc64_key_expand) /* %o0=input_key, %o1=output_key */ VISEntryHalf ld [%o0 + 0x00], %f0 ld [%o0 + 0x04], %f1 DES_KEXPAND(0, 0, 0) DES_KEXPAND(0, 1, 2) DES_KEXPAND(2, 3, 6) DES_...
aixcc-public/challenge-001-exemplar-source
2,134
arch/sparc/crypto/sha512_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/visasm.h> #include "opcodes.h" ENTRY(sha512_sparc64_transform) /* %o0 = digest, %o1 = data, %o2 = rounds */ VISEntry ldd [%o0 + 0x00], %f0 ldd [%o0 + 0x08], %f2 ldd [%o0 + 0x10], %f4 ldd [%o0 + 0x18], %f6 ldd [%o0 + 0x20], %f8 ldd...
aixcc-public/challenge-001-exemplar-source
1,502
arch/sparc/crypto/sha256_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/visasm.h> #include "opcodes.h" ENTRY(sha256_sparc64_transform) /* %o0 = digest, %o1 = data, %o2 = rounds */ VISEntryHalf ld [%o0 + 0x00], %f0 ld [%o0 + 0x04], %f1 ld [%o0 + 0x08], %f2 ld [%o0 + 0x0c], %f3 ld [%o0 + 0x10], %f4 ld [...
aixcc-public/challenge-001-exemplar-source
1,314
arch/sparc/crypto/md5_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/visasm.h> #include "opcodes.h" ENTRY(md5_sparc64_transform) /* %o0 = digest, %o1 = data, %o2 = rounds */ VISEntryHalf ld [%o0 + 0x00], %f0 ld [%o0 + 0x04], %f1 andcc %o1, 0x7, %g0 ld [%o0 + 0x08], %f2 bne,pn %xcc, 10f ld [%o0 + 0...
aixcc-public/challenge-001-exemplar-source
1,362
arch/sparc/crypto/sha1_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/visasm.h> #include "opcodes.h" ENTRY(sha1_sparc64_transform) /* %o0 = digest, %o1 = data, %o2 = rounds */ VISEntryHalf ld [%o0 + 0x00], %f0 ld [%o0 + 0x04], %f1 ld [%o0 + 0x08], %f2 andcc %o1, 0x7, %g0 ld [%o0 + 0x0c], %f3 bne,pn ...
aixcc-public/challenge-001-exemplar-source
13,850
arch/sparc/crypto/camellia_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/visasm.h> #include "opcodes.h" #define CAMELLIA_6ROUNDS(KEY_BASE, I0, I1) \ CAMELLIA_F(KEY_BASE + 0, I1, I0, I1) \ CAMELLIA_F(KEY_BASE + 2, I0, I1, I0) \ CAMELLIA_F(KEY_BASE + 4, I1, I0, I1) \ CAMELLIA_F(KEY_BASE + 6, I0, I1, I0) ...
aixcc-public/challenge-001-exemplar-source
1,967
arch/sparc/lib/memscan_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * memscan.S: Optimized memscan for the Sparc. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #include <asm/export.h> /* In essence, this is just a fancy strlen. */ #define LO_MAGIC 0x01010101 #define HI_MAGIC 0x80808080 .text .align 4 .globl __mem...
aixcc-public/challenge-001-exemplar-source
1,179
arch/sparc/lib/hweight.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/export.h> .text .align 32 ENTRY(__arch_hweight8) sethi %hi(__sw_hweight8), %g1 jmpl %g1 + %lo(__sw_hweight8), %g0 nop ENDPROC(__arch_hweight8) EXPORT_SYMBOL(__arch_hweight8) .section .popc_3insn_patch, "ax" .word __arch_hweight8 ...
aixcc-public/challenge-001-exemplar-source
10,178
arch/sparc/lib/M7memset.S
/* * M7memset.S: SPARC M7 optimized memset. * * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. */ /* * M7memset.S: M7 optimized memset. * * char *memset(sp, c, n) * * Set an array of n chars starting at sp to the character c. * Return sp. * * Fast assembler language version of the ...
aixcc-public/challenge-001-exemplar-source
1,179
arch/sparc/lib/fls.S
/* fls.S: SPARC default fls definition. * * SPARC default fls definition, which follows the same algorithm as * in generic fls(). This function will be boot time patched on T4 * and onward. */ #include <linux/linkage.h> #include <asm/export.h> .text .register %g2, #scratch .register %g3, #scratch ENTRY(fls) ...
aixcc-public/challenge-001-exemplar-source
8,952
arch/sparc/lib/memcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* memcpy.S: Sparc optimized memcpy and memmove code * Hand optimized from GNU libc's memcpy and memmove * Copyright (C) 1991,1996 Free Software Foundation * Copyright (C) 1995 Linus Torvalds (Linus.Torvalds@helsinki.fi) * Copyright (C) 1996 David S. Miller (davem@caip.rutgers...
aixcc-public/challenge-001-exemplar-source
1,351
arch/sparc/lib/strncmp_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * strncmp.S: Hand optimized Sparc assembly of GCC output from GNU libc * generic strncmp routine. */ #include <linux/linkage.h> #include <asm/export.h> .text ENTRY(strncmp) mov %o0, %g3 mov 0, %o3 cmp %o2, 3 ble 7f mov 0, %g2 sra %o2, 2, %o4 ldub [%g3...
aixcc-public/challenge-001-exemplar-source
2,491
arch/sparc/lib/memscan_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * memscan.S: Optimized memscan for Sparc64. * * Copyright (C) 1997,1998 Jakub Jelinek (jj@ultra.linux.cz) * Copyright (C) 1998 David S. Miller (davem@redhat.com) */ #include <asm/export.h> #define HI_MAGIC 0x8080808080808080 #define LO_MAGIC 0x0101010101010101 #define A...
aixcc-public/challenge-001-exemplar-source
2,728
arch/sparc/lib/blockops.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * blockops.S: Common block zero optimized routines. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) */ #include <linux/linkage.h> #include <asm/page.h> #include <asm/export.h> /* Zero out 64 bytes of memory at (buf + offset). * Assumes %g1 contains zero...
aixcc-public/challenge-001-exemplar-source
2,668
arch/sparc/lib/bitops.S
/* SPDX-License-Identifier: GPL-2.0 */ /* bitops.S: Sparc64 atomic bit operations. * * Copyright (C) 2000, 2007 David S. Miller (davem@davemloft.net) */ #include <linux/linkage.h> #include <asm/asi.h> #include <asm/backoff.h> #include <asm/export.h> .text ENTRY(test_and_set_bit) /* %o0=nr, %o1=addr */ BACKOFF_S...
aixcc-public/challenge-001-exemplar-source
2,563
arch/sparc/lib/clear_page.S
/* SPDX-License-Identifier: GPL-2.0 */ /* clear_page.S: UltraSparc optimized clear page. * * Copyright (C) 1996, 1998, 1999, 2000, 2004 David S. Miller (davem@redhat.com) * Copyright (C) 1997 Jakub Jelinek (jakub@redhat.com) */ #include <linux/pgtable.h> #include <asm/visasm.h> #include <asm/thread_info.h> #includ...
aixcc-public/challenge-001-exemplar-source
4,833
arch/sparc/lib/udivdi3.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. */ .text .align 4 .globl __udivdi3 __udivdi3: save %sp,-104,%sp mov %i3,%o3 cmp %i2,0 bne .LL40 mov %i1,%i3 cmp %o3,%i0 bleu .LL41 mov %i3,%o1 ! Inlin...
aixcc-public/challenge-001-exemplar-source
15,610
arch/sparc/lib/NG2memcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NG2memcpy.S: Niagara-2 optimized memcpy. * * Copyright (C) 2007 David S. Miller (davem@davemloft.net) */ #ifdef __KERNEL__ #include <linux/linkage.h> #include <asm/visasm.h> #include <asm/asi.h> #define GLOBAL_SPARE %g7 #else #define ASI_PNF 0x82 #define ASI_BLK_P 0xf0 #def...
aixcc-public/challenge-001-exemplar-source
2,144
arch/sparc/lib/locks.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * locks.S: SMP low-level lock primitives on Sparc. * * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) * Copyright (C) 1998 Anton Blanchard (anton@progsoc.uts.edu.au) * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) */ #include <asm/ptrace.h> #include...
aixcc-public/challenge-001-exemplar-source
2,450
arch/sparc/lib/GENmemcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* GENmemcpy.S: Generic sparc64 memcpy. * * Copyright (C) 2007 David S. Miller (davem@davemloft.net) */ #ifdef __KERNEL__ #include <linux/linkage.h> #define GLOBAL_SPARE %g7 #else #define GLOBAL_SPARE %g5 #endif #ifndef EX_LD #define EX_LD(x,y) x #endif #ifndef EX_ST #define...
aixcc-public/challenge-001-exemplar-source
1,298
arch/sparc/lib/ffs.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/export.h> .register %g2,#scratch .text .align 32 ENTRY(ffs) brnz,pt %o0, 1f mov 1, %o1 retl clr %o0 nop nop ENTRY(__ffs) sllx %o0, 32, %g1 /* 1 */ srlx %o0, 32, %g2 clr %o1 /* 2 */ movrz %g1, %g2, %o0 movrz %g1, 32...
aixcc-public/challenge-001-exemplar-source
13,373
arch/sparc/lib/NGmemcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NGmemcpy.S: Niagara optimized memcpy. * * Copyright (C) 2006, 2007 David S. Miller (davem@davemloft.net) */ #ifdef __KERNEL__ #include <linux/linkage.h> #include <asm/asi.h> #include <asm/thread_info.h> #define GLOBAL_SPARE %g7 #define RESTORE_ASI(TMP) \ wr %g0, ASI_AIUS, ...
aixcc-public/challenge-001-exemplar-source
1,664
arch/sparc/lib/NG4patch.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NG4patch.S: Patch Ultra-I routines with Niagara-4 variant. * * Copyright (C) 2012 David S. Miller <davem@davemloft.net> */ #include <linux/linkage.h> #define BRANCH_ALWAYS 0x10680000 #define NOP 0x01000000 #define NG_DO_PATCH(OLD, NEW) \ sethi %hi(NEW), %g1; \ or %g1, %...
aixcc-public/challenge-001-exemplar-source
1,287
arch/sparc/lib/memmove.S
/* SPDX-License-Identifier: GPL-2.0 */ /* memmove.S: Simple memmove implementation. * * Copyright (C) 1997, 2004 David S. Miller (davem@redhat.com) * Copyright (C) 1996, 1997, 1998, 1999 Jakub Jelinek (jj@ultra.linux.cz) */ #include <linux/linkage.h> #include <asm/export.h> .text ENTRY(memmove) /* o0=dst o1=src ...
aixcc-public/challenge-001-exemplar-source
3,465
arch/sparc/lib/NGbzero.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NGbzero.S: Niagara optimized memset/clear_user. * * Copyright (C) 2006 David S. Miller (davem@davemloft.net) */ #include <asm/asi.h> #define EX_ST(x,y) \ 98: x,y; \ .section __ex_table,"a";\ .align 4; \ .word 98b, __retl_o1_asi;\ .text; \ .align 4; .text .glo...
aixcc-public/challenge-001-exemplar-source
3,346
arch/sparc/lib/GENbzero.S
/* SPDX-License-Identifier: GPL-2.0 */ /* GENbzero.S: Generic sparc64 memset/clear_user. * * Copyright (C) 2007 David S. Miller (davem@davemloft.net) */ #include <asm/asi.h> #define EX_ST(x,y) \ 98: x,y; \ .section __ex_table,"a";\ .align 4; \ .word 98b, __retl_o1_asi;\ .text; \ .align 4; .align 32 .t...
aixcc-public/challenge-001-exemplar-source
3,598
arch/sparc/lib/NGpage.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NGpage.S: Niagara optimize clear and copy page. * * Copyright (C) 2006 (davem@davemloft.net) */ #include <asm/asi.h> #include <asm/page.h> .text .align 32 /* This is heavily simplified from the sun4u variants * because Niagara does not have any D-cache aliasing issue...
aixcc-public/challenge-001-exemplar-source
3,474
arch/sparc/lib/bzero.S
/* SPDX-License-Identifier: GPL-2.0 */ /* bzero.S: Simple prefetching memset, bzero, and clear_user * implementations. * * Copyright (C) 2005 David S. Miller <davem@davemloft.net> */ #include <linux/linkage.h> #include <asm/export.h> .text ENTRY(memset) /* %o0=buf, %o1=pat, %o2=len */ and %o1, 0xff, ...
aixcc-public/challenge-001-exemplar-source
1,724
arch/sparc/lib/GENpage.S
/* SPDX-License-Identifier: GPL-2.0 */ /* GENpage.S: Generic clear and copy page. * * Copyright (C) 2007 (davem@davemloft.net) */ #include <asm/page.h> .text .align 32 GENcopy_user_page: set PAGE_SIZE, %g7 1: ldx [%o1 + 0x00], %o2 ldx [%o1 + 0x08], %o3 ldx [%o1 + 0x10], %o4 ldx [%o1 + 0x18], %o5 stx %o2, [%...
aixcc-public/challenge-001-exemplar-source
5,084
arch/sparc/lib/divdi3.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. */ #include <asm/export.h> .text .align 4 .globl __divdi3 __divdi3: save %sp,-104,%sp cmp %i0,0 bge .LL40 mov 0,%l4 mov -1,%l4 sub %g0,%i1,%o0 mov %o0,%...
aixcc-public/challenge-001-exemplar-source
17,018
arch/sparc/lib/U1memcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* U1memcpy.S: UltraSPARC-I/II/IIi/IIe optimized memcpy. * * Copyright (C) 1997, 2004 David S. Miller (davem@redhat.com) * Copyright (C) 1996, 1997, 1998, 1999 Jakub Jelinek (jj@ultra.linux.cz) */ #ifdef __KERNEL__ #include <linux/linkage.h> #include <asm/visasm.h> #include <...
aixcc-public/challenge-001-exemplar-source
6,024
arch/sparc/lib/copy_page.S
/* SPDX-License-Identifier: GPL-2.0 */ /* clear_page.S: UltraSparc optimized copy page. * * Copyright (C) 1996, 1998, 1999, 2000, 2004 David S. Miller (davem@redhat.com) * Copyright (C) 1997 Jakub Jelinek (jakub@redhat.com) */ #include <asm/visasm.h> #include <asm/thread_info.h> #include <asm/page.h> #include <lin...
aixcc-public/challenge-001-exemplar-source
2,068
arch/sparc/lib/copy_in_user.S
/* SPDX-License-Identifier: GPL-2.0 */ /* copy_in_user.S: Copy from userspace to userspace. * * Copyright (C) 1999, 2000, 2004 David S. Miller (davem@redhat.com) */ #include <linux/linkage.h> #include <asm/asi.h> #include <asm/export.h> #define XCC xcc #define EX(x,y,z) \ 98: x,y; \ .section __ex_table,"a";\ ...
aixcc-public/challenge-001-exemplar-source
1,552
arch/sparc/lib/NG4copy_page.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NG4copy_page.S: Niagara-4 optimized copy page. * * Copyright (C) 2012 (davem@davemloft.net) */ #include <asm/asi.h> #include <asm/page.h> .text .align 32 .register %g2, #scratch .register %g3, #scratch .globl NG4copy_user_page NG4copy_user_page: /* %o0=dest, %o1=s...
aixcc-public/challenge-001-exemplar-source
1,359
arch/sparc/lib/muldi3.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* Copyright (C) 1989, 1992, 1993, 1994, 1995 Free Software Foundation, Inc. This file is part of GNU CC. */ #include <asm/export.h> .text .align 4 .globl __muldi3 __muldi3: save %sp, -104, %sp wr %g0, %i1, %y sra %i3, 0x1f, %g2 and %i1, %g2, %g2 andcc %g...
aixcc-public/challenge-001-exemplar-source
9,445
arch/sparc/lib/Memcpy_utils.S
#ifndef __ASM_MEMCPY_UTILS #define __ASM_MEMCPY_UTILS #include <linux/linkage.h> #include <asm/asi.h> #include <asm/visasm.h> ENTRY(__restore_asi_fp) VISExitHalf retl wr %g0, ASI_AIUS, %asi ENDPROC(__restore_asi_fp) ENTRY(__restore_asi) retl wr %g0, ASI_AIUS, %asi ENDPROC(__restore_asi) ENTRY(memcpy_retl_o2)...
aixcc-public/challenge-001-exemplar-source
13,345
arch/sparc/lib/U3memcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* U3memcpy.S: UltraSparc-III optimized memcpy. * * Copyright (C) 1999, 2000, 2004 David S. Miller (davem@redhat.com) */ #ifdef __KERNEL__ #include <linux/linkage.h> #include <asm/visasm.h> #include <asm/asi.h> #define GLOBAL_SPARE %g7 #else #define ASI_BLK_P 0xf0 #define FPRS...
aixcc-public/challenge-001-exemplar-source
10,618
arch/sparc/lib/NG4memcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NG4memcpy.S: Niagara-4 optimized memcpy. * * Copyright (C) 2012 David S. Miller (davem@davemloft.net) */ #ifdef __KERNEL__ #include <linux/linkage.h> #include <asm/visasm.h> #include <asm/asi.h> #define GLOBAL_SPARE %g7 #else #define ASI_BLK_INIT_QUAD_LDD_P 0xe2 #define FPR...
aixcc-public/challenge-001-exemplar-source
14,347
arch/sparc/lib/checksum_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* checksum.S: Sparc optimized checksum code. * * Copyright(C) 1995 Linus Torvalds * Copyright(C) 1995 Miguel de Icaza * Copyright(C) 1996 David S. Miller * Copyright(C) 1997 Jakub Jelinek * * derived from: * Linux/Alpha checksum c-code * Linux/ix86 inline checks...
aixcc-public/challenge-001-exemplar-source
3,859
arch/sparc/lib/memset.S
/* SPDX-License-Identifier: GPL-2.0 */ /* linux/arch/sparc/lib/memset.S: Sparc optimized memset, bzero and clear_user code * Copyright (C) 1991,1996 Free Software Foundation * Copyright (C) 1996,1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu) * * Calls to m...
aixcc-public/challenge-001-exemplar-source
9,607
arch/sparc/lib/copy_user.S
/* SPDX-License-Identifier: GPL-2.0 */ /* copy_user.S: Sparc optimized copy_from_user and copy_to_user code. * * Copyright(C) 1995 Linus Torvalds * Copyright(C) 1996 David S. Miller * Copyright(C) 1996 Eddie C. Dost * Copyright(C) 1996,1998 Jakub Jelinek * * derived from: * e-mail between David and Eddie. ...
aixcc-public/challenge-001-exemplar-source
1,884
arch/sparc/lib/VISsave.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * VISsave.S: Code for saving FPU register state for * VIS routines. One should not call this directly, * but use macros provided in <asm/visasm.h>. * * Copyright (C) 1998 Jakub Jelinek (jj@ultra.linux.cz) */ #include <linux/linkage.h> #include <asm...