repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
AirFortressIlikara/LS2K0300-linux-4.19
10,512
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. ...
AirFortressIlikara/LS2K0300-linux-4.19
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...
AirFortressIlikara/LS2K0300-linux-4.19
7,136
arch/sparc/lib/csum_copy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* csum_copy.S: Checksum+copy code for sparc64 * * Copyright (C) 2005 David S. Miller <davem@davemloft.net> */ #include <asm/export.h> #ifdef __KERNEL__ #define GLOBAL_SPARE %g7 #else #define GLOBAL_SPARE %g5 #endif #ifndef EX_LD #define EX_LD(x) x #endif #ifndef EX_ST #def...
AirFortressIlikara/LS2K0300-linux-4.19
2,633
arch/sparc/lib/mcount.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2000 Anton Blanchard (anton@linuxcare.com) * * This file implements mcount(), which is used to collect profiling data. * This can also be tweaked for kernel stack overflow detection. */ #include <linux/linkage.h> #include <asm/export.h> /* * This is the ...
AirFortressIlikara/LS2K0300-linux-4.19
4,076
arch/sparc/lib/atomic_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* atomic.S: These things are too big to do inline. * * Copyright (C) 1999, 2007 2012 David S. Miller (davem@davemloft.net) */ #include <linux/linkage.h> #include <asm/asi.h> #include <asm/backoff.h> #include <asm/export.h> .text /* Three versions of the atomic routines, o...
AirFortressIlikara/LS2K0300-linux-4.19
2,332
arch/sparc/lib/NG4memset.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NG4memset.S: Niagara-4 optimized memset/bzero. * * Copyright (C) 2012 David S. Miller (davem@davemloft.net) */ #include <asm/asi.h> .register %g2, #scratch .register %g3, #scratch .text .align 32 .globl NG4memset NG4memset: andcc %o1, 0xff, %o4 be,pt %icc, 1f ...
AirFortressIlikara/LS2K0300-linux-4.19
1,109
arch/sparc/lib/NG2copy_to_user.S
/* SPDX-License-Identifier: GPL-2.0 */ /* NG2copy_to_user.S: Niagara-2 optimized copy to userspace. * * Copyright (C) 2007 David S. Miller (davem@davemloft.net) */ #define EX_ST(x,y) \ 98: x; \ .section __ex_table,"a";\ .align 4; \ .word 98b, y; \ .text; \ .align 4; #define EX_ST_FP(x,y) \ 98: x; \ ...
AirFortressIlikara/LS2K0300-linux-4.19
31,360
arch/sparc/lib/M7memcpy.S
/* * M7memcpy: Optimized SPARC M7 memcpy * * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. */ .file "M7memcpy.S" /* * memcpy(s1, s2, len) * * Copy s2 to s1, always copy n bytes. * Note: this C code does not work for overlapped copies. * * Fast assembler language version of the foll...
AirFortressIlikara/LS2K0300-linux-4.19
1,608
arch/sparc/lib/strlen.S
/* SPDX-License-Identifier: GPL-2.0 */ /* strlen.S: Sparc optimized strlen code * Hand optimized from GNU libc's strlen * Copyright (C) 1991,1996 Free Software Foundation * Copyright (C) 1996,2008 David S. Miller (davem@davemloft.net) * Copyright (C) 1996, 1997 Jakub Jelinek (jj@sunsite.mff.cuni.cz) */ #include <...
AirFortressIlikara/LS2K0300-linux-4.19
16,228
arch/sparc/lib/xor.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/sparc64/lib/xor.S * * High speed xor_block operation for RAID4/5 utilizing the * UltraSparc Visual Instruction Set and Niagara store-init/twin-load. * * Copyright (C) 1997, 1999 Jakub Jelinek (jj@ultra.linux.cz) * Copyright (C) 2006 David S. Miller <davem@davemlof...
AirFortressIlikara/LS2K0300-linux-4.19
1,059
arch/sparc/lib/fls64.S
/* fls64.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 ENTR...
AirFortressIlikara/LS2K0300-linux-4.19
1,211
arch/sparc/lib/M7patch.S
/* * M7patch.S: Patch generic routines with M7 variant. * * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved. */ #include <linux/linkage.h> #define BRANCH_ALWAYS 0x10680000 #define NOP 0x01000000 #define NG_DO_PATCH(OLD, NEW) \ sethi %hi(NEW), %g1; \ or %g1, %lo(NEW), %g1; \ sethi %hi(OL...
AirFortressIlikara/LS2K0300-linux-4.19
3,984
arch/sparc/lib/checksum_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* checksum.S: Sparc V9 optimized checksum code. * * Copyright(C) 1995 Linus Torvalds * Copyright(C) 1995 Miguel de Icaza * Copyright(C) 1996, 2000 David S. Miller * Copyright(C) 1997 Jakub Jelinek * * derived from: * Linux/Alpha checksum c-code * Linux/ix86 inli...
AirFortressIlikara/LS2K0300-linux-4.19
4,271
arch/sparc/net/bpf_jit_asm_32.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm/ptrace.h> #include "bpf_jit_32.h" #define SAVE_SZ 96 #define SCRATCH_OFF 72 #define BE_PTR(label) be label #define SIGN_EXTEND(reg) #define SKF_MAX_NEG_OFF (-0x200000) /* SKF_LL_OFF from filter.h */ .text .globl bpf_jit_load_word bpf_jit_load_word: cmp r_OFF,...
AirFortressIlikara/LS2K0300-linux-4.19
9,751
arch/sparc/mm/hypersparc.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * hypersparc.S: High speed Hypersparc mmu/cache operations. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #include <asm/ptrace.h> #include <asm/psr.h> #include <asm/asm-offsets.h> #include <asm/asi.h> #include <asm/page.h> #include <asm/pgtsrmmu.h> #in...
AirFortressIlikara/LS2K0300-linux-4.19
25,179
arch/sparc/mm/ultra.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * ultra.S: Don't expand these all over the place... * * Copyright (C) 1997, 2000, 2008 David S. Miller (davem@davemloft.net) */ #include <asm/asi.h> #include <asm/pgtable.h> #include <asm/page.h> #include <asm/spitfire.h> #include <asm/mmu_context.h> #include <asm/mmu.h> #...
AirFortressIlikara/LS2K0300-linux-4.19
6,147
arch/sparc/mm/viking.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * viking.S: High speed Viking cache/mmu operations * * Copyright (C) 1997 Eddie C. Dost (ecd@skynet.be) * Copyright (C) 1997,1998,1999 Jakub Jelinek (jj@ultra.linux.cz) * Copyright (C) 1999 Pavel Semerad (semerad@ss1000.ms.mff.cuni.cz) */ #include <asm/ptrace.h> #i...
AirFortressIlikara/LS2K0300-linux-4.19
3,219
arch/sparc/mm/tsunami.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * tsunami.S: High speed MicroSparc-I mmu/cache operations. * * Copyright (C) 1997 David S. Miller (davem@caip.rutgers.edu) */ #include <asm/ptrace.h> #include <asm/asm-offsets.h> #include <asm/psr.h> #include <asm/asi.h> #include <asm/page.h> #include <asm/pgtsrmmu.h> .t...
AirFortressIlikara/LS2K0300-linux-4.19
5,349
arch/sparc/mm/swift.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * swift.S: MicroSparc-II mmu/cache operations. * * Copyright (C) 1999 David S. Miller (davem@redhat.com) */ #include <asm/psr.h> #include <asm/asi.h> #include <asm/page.h> #include <asm/pgtsrmmu.h> #include <asm/asm-offsets.h> .text .align 4 #if 1 /* XXX screw this, I ...
AirFortressIlikara/LS2K0300-linux-4.19
1,937
arch/sparc/mm/srmmu_access.S
/* SPDX-License-Identifier: GPL-2.0 */ /* Assembler variants of srmmu access functions. * Implemented in assembler to allow run-time patching. * LEON uses a different ASI for MMUREGS than SUN. * * The leon_1insn_patch infrastructure is used * for the run-time patching. */ #include <linux/linkage.h> #include <as...
AirFortressIlikara/LS2K0300-linux-4.19
1,047
arch/h8300/kernel/head_ram.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/sys.h> #include <linux/init.h> #include <asm/unistd.h> #include <asm/setup.h> #include <asm/segment.h> #include <asm/linkage.h> #include <asm/asm-offsets.h> #include <asm/thread_info.h> #include <asm/errno.h> #if defined(CONFIG_CPU_H8300H) .h8300h #define SYSCR ...
AirFortressIlikara/LS2K0300-linux-4.19
8,271
arch/h8300/kernel/entry.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * * linux/arch/h8300/kernel/entry.S * * Yoshinori Sato <ysato@users.sourceforge.jp> * David McCullough <davidm@snapgear.com> * */ /* * entry.S * include exception/interrupt gateway * system call entry */ #include <linux/sys.h> #include <asm/unistd.h> ...
AirFortressIlikara/LS2K0300-linux-4.19
1,756
arch/h8300/kernel/head_rom.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/init.h> #include <asm/thread_info.h> #if defined(CONFIG_CPU_H8300H) .h8300h #define SYSCR 0xfee012 #define IRAMTOP 0xffff20 #define NR_INT 64 #endif #if defined(CONFIG_CPU_H8S) .h8300s #define INTCR 0xffff31 #define IRAMTOP 0xffc000 #define NR_INT 128 #endif _...
AirFortressIlikara/LS2K0300-linux-4.19
1,084
arch/h8300/kernel/vmlinux.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm-generic/vmlinux.lds.h> #include <asm/page.h> #include <asm/thread_info.h> #define ROMTOP 0x000000 #define RAMTOP 0x400000 jiffies = jiffies_64 + 4; ENTRY(_start) SECTIONS { #if defined(CONFIG_ROMKERNEL) . = ROMTOP; .vectors : { _vector = . ; *(.vector*) } ...
AirFortressIlikara/LS2K0300-linux-4.19
1,124
arch/h8300/lib/memcpy.S
;;; SPDX-License-Identifier: GPL-2.0 ;;; memcpy.S #include <asm/linkage.h> #if defined(CONFIG_CPU_H8300H) .h8300h #endif #if defined(CONFIG_CPU_H8S) .h8300s #endif .text .global memcpy ;;; void *memcpy(void *to, void *from, size_t n) memcpy: mov.l er2,er2 bne 1f rts 1: ;; address check bld #0,r0l bxor #0,r1...
AirFortressIlikara/LS2K0300-linux-4.19
1,583
arch/h8300/lib/udivsi3.S
/* SPDX-License-Identifier: GPL-2.0 */ #include "libgcc.h" ;; This function also computes the remainder and stores it in er3. .global __udivsi3 __udivsi3: mov.w A1E,A1E ; denominator top word 0? bne DenHighNonZero ; do it the easy way, see page 107 in manual mov.w A0E,A2 extu.l A2P divxu.w A1,A2P mov.w A2E,...
AirFortressIlikara/LS2K0300-linux-4.19
1,075
arch/h8300/lib/moddivsi3.S
/* SPDX-License-Identifier: GPL-2.0 */ #include "libgcc.h" ; numerator in A0/A1 ; denominator in A2/A3 .global __modsi3 __modsi3: PUSHP S2P bsr modnorm bsr __divsi3 mov.l er3,er0 bra exitdiv .global __umodsi3 __umodsi3: bsr __udivsi3:16 mov.l er3,er0 rts .global __divsi3 __divsi3: PUSHP S2P bsr divnorm ...
AirFortressIlikara/LS2K0300-linux-4.19
1,069
arch/h8300/lib/modsi3.S
/* SPDX-License-Identifier: GPL-2.0 */ #include "libgcc.h" ; numerator in A0/A1 ; denominator in A2/A3 .global __modsi3 __modsi3: PUSHP S2P bsr modnorm bsr __divsi3 mov.l er3,er0 bra exitdiv .global __umodsi3 __umodsi3: bsr __udivsi3 mov.l er3,er0 rts .global __divsi3 __divsi3: PUSHP S2P jsr divnorm bs...
AirFortressIlikara/LS2K0300-linux-4.19
1,039
arch/h8300/boot/compressed/head.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * linux/arch/h8300/boot/compressed/head.S * * Copyright (C) 2006 Yoshinori Sato */ #include <linux/linkage.h> .section .text..startup,"ax" .global startup startup: mov.l #startup, sp mov.l er0, er4 mov.l #__sbss, er0 mov.l #__ebss, er1 sub.l er0, er1 shlr er1 s...
AirFortressIlikara/LS2K0300-linux-4.19
5,649
arch/nds32/kernel/head.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation #include <linux/linkage.h> #include <linux/init.h> #include <asm/ptrace.h> #include <asm/asm-offsets.h> #include <asm/page.h> #include <asm/pgtable.h> #include <asm/sizes.h> #include <asm/thread_info.h> #ifdef CONFIG_CPU_BIG_E...
AirFortressIlikara/LS2K0300-linux-4.19
3,770
arch/nds32/kernel/ex-exit.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation #include <linux/linkage.h> #include <asm/unistd.h> #include <asm/assembler.h> #include <asm/nds32.h> #include <asm/asm-offsets.h> #include <asm/thread_info.h> #include <asm/current.h> #ifdef CONFIG_HWZOL .macro pop_zol mtu...
AirFortressIlikara/LS2K0300-linux-4.19
2,248
arch/nds32/kernel/ex-scall.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation #include <linux/linkage.h> #include <asm/unistd.h> #include <asm/assembler.h> #include <asm/nds32.h> #include <asm/asm-offsets.h> #include <asm/thread_info.h> #include <asm/current.h> /* * $r0 = previous task_struct, * $r1 =...
AirFortressIlikara/LS2K0300-linux-4.19
1,254
arch/nds32/kernel/vmlinux.lds.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation #include <asm/page.h> #include <asm/thread_info.h> #include <asm/cache.h> #include <asm/memory.h> #define LOAD_OFFSET (PAGE_OFFSET - PHYS_OFFSET) #include <asm-generic/vmlinux.lds.h> OUTPUT_ARCH(nds32) ENTRY(_stext_lma) jiffi...
AirFortressIlikara/LS2K0300-linux-4.19
3,378
arch/nds32/kernel/ex-entry.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation #include <linux/linkage.h> #include <asm/memory.h> #include <asm/nds32.h> #include <asm/errno.h> #include <asm/asm-offsets.h> #include <asm/page.h> #ifdef CONFIG_HWZOL .macro push_zol mfusr $r14, $LB mfusr $r15, $LE mfusr ...
AirFortressIlikara/LS2K0300-linux-4.19
1,253
arch/nds32/lib/clear_user.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation #include <linux/linkage.h> #include <asm/assembler.h> #include <asm/errno.h> /* Prototype: int __arch_clear_user(void *addr, size_t sz) * Purpose : clear some user memory * Params : addr - user memory address to clear * ...
AirFortressIlikara/LS2K0300-linux-4.19
1,421
arch/nds32/lib/copy_template.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation beq $r1, $r0, quit_memcpy beqz $r2, quit_memcpy srli $r3, $r2, #5 ! check if len < cache-line size 32 beqz $r3, word_copy_entry andi $r4, $r0, #0x3 ! check byte-align beqz $r4, unalign_word_copy_entry addi $r4, $r4,...
AirFortressIlikara/LS2K0300-linux-4.19
2,028
arch/nds32/lib/memmove.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation #include <linux/linkage.h> /* void *memmove(void *dst, const void *src, int n); dst: $r0 src: $r1 n : $r2 ret: $r0 - pointer to the memory area dst. */ .text ENTRY(memmove) move $r5, $r0 ! Set return value = de...
AirFortressIlikara/LS2K0300-linux-4.19
1,056
arch/nds32/lib/memset.S
// SPDX-License-Identifier: GPL-2.0 // Copyright (C) 2005-2017 Andes Technology Corporation #include <linux/linkage.h> .text ENTRY(memset) move $r5, $r0 ! Return value beqz $r2, end_memset ! Exit when len = 0 srli $p1, $r2, 2 ! $p1 is how many words to copy andi $r2, $r2, 3 ! How many bytes are less than a w...
AirFortressIlikara/LS2K0300-linux-4.19
1,472
arch/nds32/kernel/vdso/vdso.lds.S
/* * SPDX-License-Identifier: GPL-2.0 * Copyright (C) 2005-2017 Andes Technology Corporation */ #include <linux/const.h> #include <asm/page.h> #include <asm/vdso.h> OUTPUT_ARCH(nds32) SECTIONS { . = SIZEOF_HEADERS; .hash : { *(.hash) } :text .gnu.hash : { *(.gnu.hash) } .dynsym : { *(.dynsym) } .dynstr...
AirFortressIlikara/LS2K0300-linux-4.19
28,260
arch/ia64/kernel/head.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Here is where the ball gets rolling as far as the kernel is concerned. * When control is transferred to _start, the bootload has already * loaded us to the correct address. All that's left to do here is * to set up the kernel's global pointer and jump to the kernel * en...
AirFortressIlikara/LS2K0300-linux-4.19
7,877
arch/ia64/kernel/pal.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * PAL Firmware support * IA-64 Processor Programmers Reference Vol 2 * * Copyright (C) 1999 Don Dugger <don.dugger@intel.com> * Copyright (C) 1999 Walt Drummond <drummond@valinux.com> * Copyright (C) 1999-2001, 2003 Hewlett-Packard Co * David Mosberger <davidm@hpl.hp.com...
AirFortressIlikara/LS2K0300-linux-4.19
47,508
arch/ia64/kernel/entry.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/ia64/kernel/entry.S * * Kernel entry points. * * Copyright (C) 1998-2003, 2005 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> * Copyright (C) 1999, 2002-2003 * Asit Mallick <Asit.K.Mallick@intel.com> * Don Dugger <Don.Dugger@intel.com> * Suresh ...
AirFortressIlikara/LS2K0300-linux-4.19
2,740
arch/ia64/kernel/gate.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Linker script for gate DSO. The gate pages are an ELF shared object * prelinked to its virtual address, with only one read-only segment and * one execute-only segment (both fit in one page). This script controls * its layout. */ #include <asm/page.h> SECTIONS { . = ...
AirFortressIlikara/LS2K0300-linux-4.19
7,685
arch/ia64/kernel/relocate_kernel.S
/* * arch/ia64/kernel/relocate_kernel.S * * Relocate kexec'able kernel and start it * * Copyright (C) 2005 Hewlett-Packard Development Company, L.P. * Copyright (C) 2005 Khalid Aziz <khalid.aziz@hp.com> * Copyright (C) 2005 Intel Corp, Zou Nan hai <nanhai.zou@intel.com> * * This source code is licensed under...
AirFortressIlikara/LS2K0300-linux-4.19
2,961
arch/ia64/kernel/esi_stub.S
/* * ESI call stub. * * Copyright (C) 2005 Hewlett-Packard Co * Alex Williamson <alex.williamson@hp.com> * * Based on EFI call stub by David Mosberger. The stub is virtually * identical to the one for EFI phys-mode calls, except that ESI * calls may have up to 8 arguments, so they get passed to this routine *...
AirFortressIlikara/LS2K0300-linux-4.19
1,135
arch/ia64/kernel/mca_drv_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * File: mca_drv_asm.S * Purpose: Assembly portion of Generic MCA handling * * Copyright (C) 2004 FUJITSU LIMITED * Copyright (C) 2004 Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com> */ #include <linux/threads.h> #include <asm/asmmacro.h> #include <asm/processor...
AirFortressIlikara/LS2K0300-linux-4.19
4,580
arch/ia64/kernel/vmlinux.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm/cache.h> #include <asm/ptrace.h> #include <asm/pgtable.h> #include <asm/thread_info.h> #include <asm-generic/vmlinux.lds.h> OUTPUT_FORMAT("elf64-ia64-little") OUTPUT_ARCH(ia64) ENTRY(phys_start) jiffies = jiffies_64; PHDRS { code PT_LOAD; percpu PT_LOAD; dat...
AirFortressIlikara/LS2K0300-linux-4.19
11,606
arch/ia64/kernel/gate.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * This file contains the code that gets mapped at the upper end of each task's text * region. For now, it contains the signal trampoline code only. * * Copyright (C) 1999-2003 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> */ #include <asm/asmmacro.h> #...
AirFortressIlikara/LS2K0300-linux-4.19
24,623
arch/ia64/kernel/fsys.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * This file contains the light-weight system call handlers (fsyscall-handlers). * * Copyright (C) 2003 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> * * 25-Sep-03 davidm Implement fsys_rt_sigprocmask(). * 18-Feb-03 louisk Implement fsys_gettimeofday(). ...
AirFortressIlikara/LS2K0300-linux-4.19
53,032
arch/ia64/kernel/ivt.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * arch/ia64/kernel/ivt.S * * Copyright (C) 1998-2001, 2003, 2005 Hewlett-Packard Co * Stephane Eranian <eranian@hpl.hp.com> * David Mosberger <davidm@hpl.hp.com> * Copyright (C) 2000, 2002-2003 Intel Co * Asit Mallick <asit.k.mallick@intel.com> * Suresh Siddha <sur...
AirFortressIlikara/LS2K0300-linux-4.19
2,681
arch/ia64/kernel/efi_stub.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * EFI call stub. * * Copyright (C) 1999-2001 Hewlett-Packard Co * David Mosberger <davidm@hpl.hp.com> * * This stub allows us to make EFI calls in physical mode with interrupts * turned off. We need this because we can't call SetVirtualMap() until * the kernel has boot...
AirFortressIlikara/LS2K0300-linux-4.19
27,969
arch/ia64/kernel/mca_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * File: mca_asm.S * Purpose: assembly portion of the IA64 MCA handling * * Mods by cfleck to integrate into kernel build * * 2000-03-15 David Mosberger-Tang <davidm@hpl.hp.com> * Added various stop bits to get a clean compile * * 2000-03-29 Chuck Fleckenstein <cfleck@...
AirFortressIlikara/LS2K0300-linux-4.19
6,200
arch/ia64/lib/clear_user.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * This routine clears to zero a linear memory buffer in user space. * * Inputs: * in0: address of buffer * in1: length of buffer in bytes * Outputs: * r8: number of bytes that didn't get cleared due to a fault * * Copyright (C) 1998, 1999, 2001 Hewlett-Packard Co * St...
AirFortressIlikara/LS2K0300-linux-4.19
2,761
arch/ia64/lib/flush.S
/* * Cache flushing routines. * * Copyright (C) 1999-2001, 2005 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> * * 05/28/05 Zoltan Menyhart Dynamic stride size */ #include <asm/asmmacro.h> #include <asm/export.h> /* * flush_icache_range(start,end) * * Make i-cache(s) coherent with d-cach...
AirFortressIlikara/LS2K0300-linux-4.19
6,974
arch/ia64/lib/memcpy.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * * Optimized version of the standard memcpy() function * * Inputs: * in0: destination address * in1: source address * in2: number of bytes to copy * Output: * no return value * * Copyright (C) 2000-2001 Hewlett-Packard Co * Stephane Eranian <eranian@hpl.hp.com> ...
AirFortressIlikara/LS2K0300-linux-4.19
1,990
arch/ia64/lib/clear_page.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1999-2002 Hewlett-Packard Co * Stephane Eranian <eranian@hpl.hp.com> * David Mosberger-Tang <davidm@hpl.hp.com> * Copyright (C) 2002 Ken Chen <kenneth.w.chen@intel.com> * * 1/06/01 davidm Tuned for Itanium. * 2/12/02 kchen Tuned for both Itanium and McKin...
AirFortressIlikara/LS2K0300-linux-4.19
5,959
arch/ia64/lib/copy_page_mck.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * McKinley-optimized version of copy_page(). * * Copyright (C) 2002 Hewlett-Packard Co * David Mosberger <davidm@hpl.hp.com> * * Inputs: * in0: address of target page * in1: address of source page * Output: * no return value * * General idea: * - use regular loads ...
AirFortressIlikara/LS2K0300-linux-4.19
2,204
arch/ia64/lib/idiv64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1999-2000 Hewlett-Packard Co * Copyright (C) 1999-2000 David Mosberger-Tang <davidm@hpl.hp.com> * * 64-bit integer division. * * This code is based on the application note entitled "Divide, Square Root * and Remainder Algorithms for the IA-64 Architecture...
AirFortressIlikara/LS2K0300-linux-4.19
17,849
arch/ia64/lib/memcpy_mck.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Itanium 2-optimized version of memcpy and copy_user function * * Inputs: * in0: destination address * in1: source address * in2: number of bytes to copy * Output: * for memcpy: return dest * for copy_user: return 0 if success, * or number of byte NOT co...
AirFortressIlikara/LS2K0300-linux-4.19
2,807
arch/ia64/lib/ip_fast_csum.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Optmized version of the ip_fast_csum() function * Used for calculating IP header checksum * * Return: 16bit checksum, complemented * * Inputs: * in0: address of buffer to checksum (char *) * in1: length of the buffer (int) * * Copyright (C) 2002, 2006 Inte...
AirFortressIlikara/LS2K0300-linux-4.19
2,201
arch/ia64/lib/copy_page.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * * Optimized version of the standard copy_page() function * * Inputs: * in0: address of target page * in1: address of source page * Output: * no return value * * Copyright (C) 1999, 2001 Hewlett-Packard Co * Stephane Eranian <eranian@hpl.hp.com> * David Mosberger <...
AirFortressIlikara/LS2K0300-linux-4.19
2,205
arch/ia64/lib/idiv32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2000 Hewlett-Packard Co * Copyright (C) 2000 David Mosberger-Tang <davidm@hpl.hp.com> * * 32-bit integer division. * * This code is based on the application note entitled "Divide, Square Root * and Remainder Algorithms for the IA-64 Architecture". This d...
AirFortressIlikara/LS2K0300-linux-4.19
1,071
arch/ia64/lib/carta_random.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Fast, simple, yet decent quality random number generator based on * a paper by David G. Carta ("Two Fast Implementations of the * `Minimal Standard' Random Number Generator," Communications of the * ACM, January, 1990). * * Copyright (C) 2002 Hewlett-Packard Co * David...
AirFortressIlikara/LS2K0300-linux-4.19
10,298
arch/ia64/lib/do_csum.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * * Optmized version of the standard do_csum() function * * Return: a 64bit quantity containing the 16bit Internet checksum * * Inputs: * in0: address of buffer to checksum (char *) * in1: length of the buffer (int) * * Copyright (C) 1999, 2001-2002 Hewlett-Packard Co...
AirFortressIlikara/LS2K0300-linux-4.19
9,339
arch/ia64/lib/memset.S
/* SPDX-License-Identifier: GPL-2.0 */ /* Optimized version of the standard memset() function. Copyright (c) 2002 Hewlett-Packard Co/CERN Sverre Jarp <Sverre.Jarp@cern.ch> Return: dest Inputs: in0: dest in1: value in2: count The algorithm is fairly straightforward: set ...
AirFortressIlikara/LS2K0300-linux-4.19
17,117
arch/ia64/lib/copy_user.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * * Optimized version of the copy_user() routine. * It is used to copy date across the kernel/user boundary. * * The source and destination are always on opposite side of * the boundary. When reading from user space we must catch * faults on loads. When writing to user s...
AirFortressIlikara/LS2K0300-linux-4.19
1,220
arch/ia64/lib/strncpy_from_user.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Just like strncpy() except that if a fault occurs during copying, * -EFAULT is returned. * * Inputs: * in0: address of destination buffer * in1: address of string to be copied * in2: length of buffer in bytes * Outputs: * r8: -EFAULT in case of fault or number of byt...
AirFortressIlikara/LS2K0300-linux-4.19
6,489
arch/ia64/lib/strlen.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * * Optimized version of the standard strlen() function * * * Inputs: * in0 address of string * * Outputs: * ret0 the number of characters in the string (0 if empty string) * does not count the \0 * * Copyright (C) 1999, 2001 Hewlett-Packard Co * Stephane Eranian <...
AirFortressIlikara/LS2K0300-linux-4.19
3,627
arch/ia64/lib/xor.S
/* * arch/ia64/lib/xor.S * * Optimized RAID-5 checksumming functions for IA-64. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later versio...
AirFortressIlikara/LS2K0300-linux-4.19
1,411
arch/ia64/sn/kernel/pio_phys.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-2005 Silicon Graphics, Inc. All rights reserved. * * This file contains macros used to access MMR registers via * un...
AirFortressIlikara/LS2K0300-linux-4.19
2,374
arch/ia64/sn/kernel/sn2/ptc_deadlock.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-2005 Silicon Graphics, Inc. All rights reserved. */ #include <asm/types.h> #include <asm/sn/shub_mmr.h> #define DEA...
AirFortressIlikara/LS2K0300-linux-4.19
4,062
arch/ia64/hp/sim/boot/boot_head.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1998-2003 Hewlett-Packard Co * David Mosberger-Tang <davidm@hpl.hp.com> */ #include <asm/asmmacro.h> #include <asm/pal.h> .bss .align 16 stack_mem: .skip 16834 .text /* This needs to be defined because lib/string.c:strlcat() calls it in case of error....
AirFortressIlikara/LS2K0300-linux-4.19
6,433
arch/unicore32/kernel/head.S
/* * linux/arch/unicore32/kernel/head.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundat...
AirFortressIlikara/LS2K0300-linux-4.19
17,654
arch/unicore32/kernel/entry.S
/* * linux/arch/unicore32/kernel/entry.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Founda...
AirFortressIlikara/LS2K0300-linux-4.19
2,044
arch/unicore32/kernel/debug-macro.S
/* * linux/arch/unicore32/kernel/debug-macro.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software ...
AirFortressIlikara/LS2K0300-linux-4.19
2,339
arch/unicore32/kernel/hibernate_asm.S
/* * linux/arch/unicore32/kernel/hibernate_asm.S * * Code specific to PKUnity SoC and UniCore ISA * * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> * Copyright (C) 2001-2010 Guan Xuetao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public Li...
AirFortressIlikara/LS2K0300-linux-4.19
1,138
arch/unicore32/kernel/vmlinux.lds.S
/* * linux/arch/unicore32/kernel/vmlinux.lds.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software ...
AirFortressIlikara/LS2K0300-linux-4.19
3,896
arch/unicore32/kernel/sleep.S
/* * linux/arch/unicore32/kernel/sleep.S * * Code specific to PKUnity SoC and UniCore ISA * * Maintained by GUAN Xue-tao <gxt@mprc.pku.edu.cn> * Copyright (C) 2001-2010 Guan Xuetao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License ve...
AirFortressIlikara/LS2K0300-linux-4.19
1,472
arch/unicore32/kernel/debug.S
/* * linux/arch/unicore32/kernel/debug.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Founda...
AirFortressIlikara/LS2K0300-linux-4.19
1,821
arch/unicore32/lib/copy_to_user.S
/* * linux/arch/unicore32/lib/copy_to_user.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Fo...
AirFortressIlikara/LS2K0300-linux-4.19
1,368
arch/unicore32/lib/clear_user.S
/* * linux/arch/unicore32/lib/clear_user.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foun...
AirFortressIlikara/LS2K0300-linux-4.19
3,773
arch/unicore32/lib/backtrace.S
/* * linux/arch/unicore32/lib/backtrace.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Found...
AirFortressIlikara/LS2K0300-linux-4.19
4,676
arch/unicore32/lib/copy_template.S
/* * linux/arch/unicore32/lib/copy_template.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software F...
AirFortressIlikara/LS2K0300-linux-4.19
1,086
arch/unicore32/lib/delay.S
/* * linux/arch/unicore32/lib/delay.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundatio...
AirFortressIlikara/LS2K0300-linux-4.19
2,425
arch/unicore32/lib/findbit.S
/* * linux/arch/unicore32/lib/findbit.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundat...
AirFortressIlikara/LS2K0300-linux-4.19
1,042
arch/unicore32/lib/strncpy_from_user.S
/* * linux/arch/unicore32/lib/strncpy_from_user.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Softwa...
AirFortressIlikara/LS2K0300-linux-4.19
1,951
arch/unicore32/lib/copy_from_user.S
/* * linux/arch/unicore32/lib/copy_from_user.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software ...
AirFortressIlikara/LS2K0300-linux-4.19
4,492
arch/unicore32/mm/cache-ucv2.S
/* * linux/arch/unicore32/mm/cache-ucv2.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Found...
AirFortressIlikara/LS2K0300-linux-4.19
2,730
arch/unicore32/mm/proc-ucv2.S
/* * linux/arch/unicore32/mm/proc-ucv2.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Founda...
AirFortressIlikara/LS2K0300-linux-4.19
1,779
arch/unicore32/mm/tlb-ucv2.S
/* * linux/arch/unicore32/mm/tlb-ucv2.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundat...
AirFortressIlikara/LS2K0300-linux-4.19
3,688
arch/unicore32/mm/proc-macros.S
/* * linux/arch/unicore32/mm/proc-macros.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foun...
AirFortressIlikara/LS2K0300-linux-4.19
4,184
arch/unicore32/boot/compressed/head.S
/* * linux/arch/unicore32/boot/compressed/head.S * * Code specific to PKUnity SoC and UniCore ISA * * Copyright (C) 2001-2010 GUAN Xue-tao * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Softwar...
AirFortressIlikara/LS2K0300-linux-4.19
3,839
arch/arc/kernel/head.S
/* * ARC CPU startup Code * * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Vineetg: Dec 200...
AirFortressIlikara/LS2K0300-linux-4.19
12,349
arch/arc/kernel/entry-compact.S
/* * Low Level Interrupts/Traps/Exceptions(non-TLB) Handling for ARCompact ISA * * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of ...
AirFortressIlikara/LS2K0300-linux-4.19
8,216
arch/arc/kernel/entry-arcv2.S
/* * ARCv2 ISA based core Low Level Intr/Traps/Exceptions(non-TLB) Handling * * Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Founda...
AirFortressIlikara/LS2K0300-linux-4.19
10,170
arch/arc/kernel/entry.S
/* * Common Low Level Interrupts/Traps/Exceptions(non-TLB) Handling for ARC * (included from entry-<isa>.S * * Copyright (C) 2014-15 Synopsys, Inc. (www.synopsys.com) * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or mod...
AirFortressIlikara/LS2K0300-linux-4.19
1,715
arch/arc/kernel/ctx_sw_asm.S
/* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * * Vineetg: Aug 2009 * -Moved core context s...
AirFortressIlikara/LS2K0300-linux-4.19
3,167
arch/arc/kernel/vmlinux.lds.S
/* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <asm-generic/vmlinux.lds.h> #includ...
AirFortressIlikara/LS2K0300-linux-4.19
1,555
arch/arc/lib/strcpy-700.S
/* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /* If dst and src are 4 byte aligned, copy 8...
AirFortressIlikara/LS2K0300-linux-4.19
2,722
arch/arc/lib/strchr-700.S
/* * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ /* ARC700 has a relatively long pipeline and...