repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
alibaba/LVS
2,007
kernel/arch/blackfin/kernel/entry.S
/* * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later */ #include <linux/linkage.h> #include <asm/thread_info.h> #include <asm/errno.h> #include <asm/blackfin.h> #include <asm/asm-offsets.h> #include <asm/context.S> #ifdef CONFIG_EXCPT_IRQ_SYSC_L1 .section .l1.text #else .text #endif...
alibaba/LVS
3,429
kernel/arch/blackfin/kernel/fixed_code.S
/* * This file contains sequences of code that will be copied to a * fixed location, defined in <asm/fixed_code.h>. The interrupt * handlers ensure that these sequences appear to be atomic when * executed from userspace. * These are aligned to 16 bytes, so that we have some space to replace * these sequences wit...
alibaba/LVS
3,648
kernel/arch/blackfin/kernel/ftrace-entry.S
/* * mcount and friends -- ftrace stuff * * Copyright (C) 2009 Analog Devices Inc. * Licensed under the GPL-2 or later. */ #include <linux/linkage.h> #include <asm/ftrace.h> .text /* GCC will have called us before setting up the function prologue, so we * can clobber the normal scratch registers, but we need t...
alibaba/LVS
3,784
kernel/arch/blackfin/kernel/vmlinux.lds.S
/* * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later */ #define VMLINUX_SYMBOL(_sym_) _##_sym_ #include <asm-generic/vmlinux.lds.h> #include <asm/mem_map.h> #include <asm/page.h> #include <asm/thread_info.h> OUTPUT_FORMAT("elf32-bfin") ENTRY(__start) _jiffies = _jiffies_64; SECTION...
alibaba/LVS
1,234
kernel/arch/blackfin/lib/umodsi3.S
/* * libgcc1 routines for Blackfin 5xx * * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the ADI BSD license or the GPL-2 (or later) */ #ifdef CONFIG_ARITHMETIC_OPS_L1 .section .l1.text #else .text #endif .extern ___udivsi3; .type ___udivsi3, STT_FUNC; .globl ___umodsi3 .type ___umodsi3, STT_FUNC; ...
alibaba/LVS
1,248
kernel/arch/blackfin/lib/outs.S
/* * Implementation of outs{bwl} for BlackFin processors using zero overhead loops. * * Copyright 2005-2009 Analog Devices Inc. * 2005 BuyWays BV * Bas Vermeulen <bas@buyways.nl> * * Licensed under the GPL-2. */ #include <linux/linkage.h> .align 2 ENTRY(_outsl) P0 = R0; /...
alibaba/LVS
2,674
kernel/arch/blackfin/lib/memcpy.S
/* * internal version of memcpy(), issued by the compiler to copy blocks of * data around. This is really memmove() - it has to be able to deal with * possible overlaps, because that ambiguity is when the compiler gives up * and calls a function. We have our own, internal version so that we get * something we trus...
alibaba/LVS
8,508
kernel/arch/blackfin/lib/udivsi3.S
/* * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the ADI BSD license or the GPL-2 (or later) */ #include <linux/linkage.h> #define CARRY AC0 #ifdef CONFIG_ARITHMETIC_OPS_L1 .section .l1.text #else .text #endif ENTRY(___udivsi3) CC = R0 < R1 (IU); /* If X < Y, always return 0 */ IF CC JUM...
alibaba/LVS
5,528
kernel/arch/blackfin/lib/divsi3.S
/* * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the ADI BSD license or the GPL-2 (or later) * * 16 / 32 bit signed division. * Special cases : * 1) If(numerator == 0) * return 0 * 2) If(denominator ==0) * ...
alibaba/LVS
2,633
kernel/arch/blackfin/lib/ins.S
/* * arch/blackfin/lib/ins.S - ins{bwl} using hardware loops * * Copyright 2004-2008 Analog Devices Inc. * Copyright (C) 2005 Bas Vermeulen, BuyWays BV <bas@buyways.nl> * Licensed under the GPL-2 or later. */ #include <linux/linkage.h> #include <asm/blackfin.h> .align 2 #ifdef CONFIG_IPIPE # define DO_CLI \ [...
alibaba/LVS
1,986
kernel/arch/blackfin/lib/memmove.S
/* * Copyright 2005-2009 Analog Devices Inc. * * Licensed under the ADI BSD license or the GPL-2 (or later) */ #include <linux/linkage.h> .align 2 /* * C Library function MEMMOVE * R0 = To Address (leave unchanged to form result) * R1 = From Address * R2 = count * Data may overlap */ ENTRY(_memmove) I1 =...
alibaba/LVS
2,335
kernel/arch/blackfin/lib/muldi3.S
/* * Copyright 2008 Analog Devices Inc. * * Licensed under the ADI BSD license or the GPL-2 (or later) */ .align 2 .global ___muldi3; .type ___muldi3, STT_FUNC; #ifdef CONFIG_ARITHMETIC_OPS_L1 .section .l1.text #else .text #endif /* R1:R0 * R3:R2 = R1.h:R1.l:R0.h:R0.l * R3.h:R3.l:R2.h:R2.l [X] = (R1.h * R...
alibaba/LVS
1,774
kernel/arch/blackfin/lib/memset.S
/* * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the ADI BSD license or the GPL-2 (or later) */ #include <linux/linkage.h> .align 2 #ifdef CONFIG_MEMSET_L1 .section .l1.text #else .text #endif /* * C Library function MEMSET * R0 = address (leave unchanged to form result) * R1 = filler byte * ...
alibaba/LVS
1,861
kernel/arch/blackfin/lib/memcmp.S
/* * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the ADI BSD license or the GPL-2 (or later) */ #include <linux/linkage.h> /* int memcmp(const void *s1, const void *s2, size_t n); * R0 = First Address (s1) * R1 = Second Address (s2) * R2 = count (n) * * Favours word aligned data. */ .text ....
alibaba/LVS
1,560
kernel/arch/blackfin/lib/modsi3.S
/* * This program computes 32 bit signed remainder. It calls div32 function * for quotient estimation. * Registers in: R0, R1 = Numerator/ Denominator * Registers out: R0 = Remainder * * Copyright 2004-2009 Analog Devices Inc. * * Licensed under the ADI BSD license or the GPL-2 (or later) */ .global ...
alibaba/LVS
5,150
kernel/arch/blackfin/mach-common/head.S
/* * Common Blackfin startup code * * Copyright 2004-2008 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/linkage.h> #include <linux/init.h> #include <asm/blackfin.h> #include <asm/thread_info.h> #include <asm/trace.h> #include <asm/asm-offsets.h> __INIT ENTRY(__init_clear_bss) r...
alibaba/LVS
2,739
kernel/arch/blackfin/mach-common/cache.S
/* * Blackfin cache control code * * Copyright 2004-2008 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/linkage.h> #include <asm/blackfin.h> #include <asm/cache.h> #include <asm/page.h> .text /* 05000443 - IFLUSH cannot be last instruction in hardware loop */ #if ANOMALY_05000443...
alibaba/LVS
40,439
kernel/arch/blackfin/mach-common/entry.S
/* * Contains the system-call and fault low-level handling routines. * This also contains the timer-interrupt handler, as well as all * interrupts and faults that can result in a task-switch. * * Copyright 2005-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ /* NOTE: This code handles signal...
alibaba/LVS
14,539
kernel/arch/blackfin/mach-common/dpmc_modes.S
/* * Copyright 2004-2008 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ #include <linux/linkage.h> #include <asm/blackfin.h> #include <mach/irq.h> #include <asm/dpmc.h> .section .l1.text ENTRY(_sleep_mode) [--SP] = ( R7:0, P5:0 ); [--SP] = RETS; call _set_sic_iwr; R0 = 0xFFFF (Z); call _se...
alibaba/LVS
6,457
kernel/arch/blackfin/mach-common/interrupt.S
/* * Interrupt Entries * * Copyright 2005-2009 Analog Devices Inc. * D. Jeff Dionne <jeff@ryeham.ee.ryerson.ca> * Kenneth Albanowski <kjahds@kjahds.com> * * Licensed under the GPL-2 or later. */ #include <asm/blackfin.h> #include <mach/irq.h> #include <linux/linkage.h> #include <asm...
alibaba/LVS
5,532
kernel/arch/blackfin/include/asm/context.S
/* * Copyright 2007-2009 Analog Devices Inc. * * Licensed under the GPL-2 or later. */ /* * NOTE! The single-stepping code assumes that all interrupt handlers * start by saving SYSCFG on the stack with their first instruction. */ /* * Code to save processor context. * We even save the register which are pr...
alibaba/LVS
4,937
kernel/arch/xtensa/kernel/head.S
/* * arch/xtensa/kernel/head.S * * Xtensa Processor startup code. * * 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) 2001 - 2005 Tensilica Inc. * * Chris Zankel <chris@za...
alibaba/LVS
13,904
kernel/arch/xtensa/kernel/vectors.S
/* * arch/xtensa/kernel/vectors.S * * This file contains all exception vectors (user, kernel, and double), * as well as the window vectors (overflow and underflow), and the debug * vector. These are the primary vectors executed by the processor if an * exception occurs. * * This file is subject to the terms and...
alibaba/LVS
46,138
kernel/arch/xtensa/kernel/entry.S
/* * arch/xtensa/kernel/entry.S * * Low-level exception handling * * 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) 2004-2007 by Tensilica Inc. * * Chris Zankel <chris@za...
alibaba/LVS
7,277
kernel/arch/xtensa/kernel/coprocessor.S
/* * arch/xtensa/kernel/coprocessor.S * * Xtensa processor configuration-specific table of coprocessor and * other custom register layout information. * * 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 mor...
alibaba/LVS
7,127
kernel/arch/xtensa/kernel/vmlinux.lds.S
/* * arch/xtensa/kernel/vmlinux.lds.S * * Xtensa linker script * * 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) 2001 - 2005 Tensilica Inc. * * Chris Zankel <chris@zanke...
alibaba/LVS
11,650
kernel/arch/xtensa/kernel/align.S
/* * arch/xtensa/kernel/align.S * * Handle unalignment exceptions in kernel space. * * 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) 2001 - 2005 Tensilica, Inc. * * Rewr...
alibaba/LVS
3,914
kernel/arch/xtensa/lib/strnlen_user.S
/* * arch/xtensa/lib/strnlen_user.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. * * Returns strnlen, including trailing zero terminator. * Zero indicates error. * * Copyright ...
alibaba/LVS
9,073
kernel/arch/xtensa/lib/checksum.S
/* * INET An implementation of the TCP/IP protocol suite for the LINUX * operating system. INET is implemented using the BSD Socket * interface as the means of communication with the user level. * * IP/TCP/UDP checksumming routines * * Xtensa version: Copyright (C) 2001 Tensilica, Inc. by Kevin Chea * ...
alibaba/LVS
8,385
kernel/arch/xtensa/lib/usercopy.S
/* * arch/xtensa/lib/usercopy.S * * Copy to/from user space (derived from arch/xtensa/lib/hal/memcopy.S) * * DO NOT COMBINE this function with <arch/xtensa/lib/hal/memcopy.S>. * It needs to remain separate and distinct. The hal files are part * of the Xtensa link-time HAL, and those files may differ per *...
alibaba/LVS
3,894
kernel/arch/xtensa/lib/memset.S
/* * arch/xtensa/lib/memset.S * * ANSI C standard library function memset * (Well, almost. .fixup code might return zero.) * * 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. * * Cop...
alibaba/LVS
7,022
kernel/arch/xtensa/lib/memcopy.S
/* * arch/xtensa/lib/hal/memcopy.S -- Core HAL library functions * xthal_memcpy and xthal_bcopy * * 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) 2002 - 2005 Tensilica Inc....
alibaba/LVS
5,724
kernel/arch/xtensa/lib/strncpy_user.S
/* * arch/xtensa/lib/strncpy_user.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. * * Returns: -EFAULT if exception before terminator, N if the entire * buffer filled, else strlen....
alibaba/LVS
7,568
kernel/arch/xtensa/mm/misc.S
/* * arch/xtensa/mm/misc.S * * Miscellaneous assembly functions. * * 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) 2001 - 2007 Tensilica Inc. * * Chris Zankel <chris@zan...
alibaba/LVS
4,829
kernel/arch/xtensa/boot/boot-redboot/bootstrap.S
#include <variant/core.h> #include <asm/regs.h> #include <asm/asmmacro.h> #include <asm/cacheasm.h> /* * RB-Data: RedBoot data/bss * P: Boot-Parameters * L: Kernel-Loader * * The Linux-Kernel image including the loader must be loaded * to a position so that the kernel and the boot parameters * ca...
alibaba/LVS
1,392
kernel/arch/s390/kernel/mcount64.S
/* * Copyright IBM Corp. 2008,2009 * * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>, * */ #include <asm/asm-offsets.h> .globl ftrace_stub ftrace_stub: br %r14 .globl _mcount _mcount: #ifdef CONFIG_DYNAMIC_FTRACE br %r14 .data .globl ftrace_dyn_func ftrace_dyn_func: .quad ftrace_stub .previou...
alibaba/LVS
14,782
kernel/arch/s390/kernel/head.S
/* * Copyright IBM Corp. 1999,2009 * * Author(s): Hartmut Penner <hp@de.ibm.com> * Martin Schwidefsky <schwidefsky@de.ibm.com> * Rob van der Heij <rvdhei@iae.nl> * Heiko Carstens <heiko.carstens@de.ibm.com> * * There are 5 different IPL methods * 1) load the image directly into ram at address 0 and d...
alibaba/LVS
7,480
kernel/arch/s390/kernel/sclp.S
/* * Mini SCLP driver. * * Copyright IBM Corp. 2004,2009 * * Author(s): Peter Oberparleiter <Peter.Oberparleiter@de.ibm.com>, * Heiko Carstens <heiko.carstens@de.ibm.com>, * */ LC_EXT_NEW_PSW = 0x58 # addr of ext int handler LC_EXT_INT_PARAM = 0x80 # addr of ext int parameter LC_EXT_INT_CODE = 0x86 ...
alibaba/LVS
2,899
kernel/arch/s390/kernel/head31.S
/* * arch/s390/kernel/head31.S * * Copyright (C) IBM Corp. 2005,2006 * * Author(s): Hartmut Penner <hp@de.ibm.com> * Martin Schwidefsky <schwidefsky@de.ibm.com> * Rob van der Heij <rvdhei@iae.nl> * Heiko Carstens <heiko.carstens@de.ibm.com> * */ .org 0x11000 startup_continue: basr %r13,0 # get base...
alibaba/LVS
4,971
kernel/arch/s390/kernel/head64.S
/* * arch/s390/kernel/head64.S * * Copyright (C) IBM Corp. 1999,2006 * * Author(s): Hartmut Penner <hp@de.ibm.com> * Martin Schwidefsky <schwidefsky@de.ibm.com> * Rob van der Heij <rvdhei@iae.nl> * Heiko Carstens <heiko.carstens@de.ibm.com> * */ .org 0x11000 startup_continue: basr %r13,0 # get base...
alibaba/LVS
31,202
kernel/arch/s390/kernel/entry64.S
/* * arch/s390/kernel/entry64.S * S390 low-level entry points. * * Copyright (C) IBM Corp. 1999,2010 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com), * Hartmut Penner (hp@de.ibm.com), * Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com), * Heiko Carstens <heiko.carstens@de.ib...
alibaba/LVS
32,870
kernel/arch/s390/kernel/entry.S
/* * arch/s390/kernel/entry.S * S390 low-level entry points. * * Copyright (C) IBM Corp. 1999,2006 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com), * Hartmut Penner (hp@de.ibm.com), * Denis Joseph Barrow (djbarrow@de.ibm.com,barrow_dj@yahoo.com), * Heiko Carstens <heiko.carstens@de.ibm....
alibaba/LVS
49,006
kernel/arch/s390/kernel/compat_wrapper.S
/* * arch/s390/kernel/compat_wrapper.S * wrapper for 31 bit compatible system calls. * * Copyright (C) IBM Corp. 2000,2006 * Author(s): Gerhard Tonn (ton@de.ibm.com), * Thomas Spatzier (tspat@de.ibm.com) */ .globl sys32_exit_wrapper sys32_exit_wrapper: lgfr %r2,%r2 # int jg sys_exit # branch to sys_ex...
alibaba/LVS
2,977
kernel/arch/s390/kernel/relocate_kernel.S
/* * arch/s390/kernel/relocate_kernel.S * * (C) Copyright IBM Corp. 2005 * * Author(s): Rolf Adelsberger, * Heiko Carstens <heiko.carstens@de.ibm.com> * */ /* * moves the new kernel to its destination... * %r2 = pointer to first kimage_entry_t * %r3 = start address - where to jump to after the job is ...
alibaba/LVS
3,232
kernel/arch/s390/kernel/reipl64.S
/* * Copyright IBM Corp 2000,2009 * Author(s): Holger Smolinski <Holger.Smolinski@de.ibm.com>, * Denis Joseph Barrow, */ #include <asm/lowcore.h> # # do_reipl_asm # Parameter: r2 = schid of reipl device # .globl do_reipl_asm do_reipl_asm: basr %r13,0 .Lpg0: lpswe .Lnewpsw-.Lpg0(%r13) .Lpg1: # do stor...
alibaba/LVS
7,138
kernel/arch/s390/kernel/swsusp_asm64.S
/* * S390 64-bit swsusp implementation * * Copyright IBM Corp. 2009 * * Author(s): Hans-Joachim Picht <hans@linux.vnet.ibm.com> * Michael Holzheu <holzheu@linux.vnet.ibm.com> */ #include <asm/page.h> #include <asm/ptrace.h> #include <asm/thread_info.h> #include <asm/asm-offsets.h> /* * Save register con...
alibaba/LVS
2,976
kernel/arch/s390/kernel/base.S
/* * arch/s390/kernel/base.S * * Copyright IBM Corp. 2006,2007 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com> * Michael Holzheu <holzheu@de.ibm.com> */ #include <asm/ptrace.h> #include <asm/lowcore.h> #ifdef CONFIG_64BIT .globl s390_base_mcck_handler s390_base_mcck_handler: basr %r13,0 0: l...
alibaba/LVS
1,529
kernel/arch/s390/kernel/mcount.S
/* * Copyright IBM Corp. 2008,2009 * * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>, * */ #include <asm/asm-offsets.h> .globl ftrace_stub ftrace_stub: br %r14 .globl _mcount _mcount: #ifdef CONFIG_DYNAMIC_FTRACE br %r14 .data .globl ftrace_dyn_func ftrace_dyn_func: .long ftrace_stub .previou...
alibaba/LVS
1,787
kernel/arch/s390/kernel/vmlinux.lds.S
/* ld script to make s390 Linux kernel * Written by Martin Schwidefsky (schwidefsky@de.ibm.com) */ #include <asm/thread_info.h> #include <asm/page.h> #include <asm-generic/vmlinux.lds.h> #ifndef CONFIG_64BIT OUTPUT_FORMAT("elf32-s390", "elf32-s390", "elf32-s390") OUTPUT_ARCH(s390) ENTRY(_start) jiffies = jiffies_64...
alibaba/LVS
2,469
kernel/arch/s390/kernel/reipl.S
/* * arch/s390/kernel/reipl.S * * S390 version * Copyright (C) 2000 IBM Deutschland Entwicklung GmbH, IBM Corporation * Author(s): Holger Smolinski (Holger.Smolinski@de.ibm.com) */ #include <asm/lowcore.h> # # do_reipl_asm # Parameter: r2 = schid of reipl device # .globl do_reipl_asm do_reipl_asm: bas...
alibaba/LVS
3,063
kernel/arch/s390/kernel/relocate_kernel64.S
/* * arch/s390/kernel/relocate_kernel64.S * * (C) Copyright IBM Corp. 2005 * * Author(s): Rolf Adelsberger, * Heiko Carstens <heiko.carstens@de.ibm.com> * */ /* * moves the new kernel to its destination... * %r2 = pointer to first kimage_entry_t * %r3 = start address - where to jump to after the job i...
alibaba/LVS
20,764
kernel/arch/s390/kernel/syscalls.S
/* * definitions for sys_call_table, each line represents an * entry in the table in the form * SYSCALL(31 bit syscall, 64 bit syscall, 31 bit emulated syscall) * * this file is meant to be included from entry.S and entry64.S */ #define NI_SYSCALL SYSCALL(sys_ni_syscall,sys_ni_syscall,sys_ni_syscall) NI_SYSCAL...
alibaba/LVS
2,051
kernel/arch/s390/lib/qrnnd.S
# S/390 __udiv_qrnnd # r2 : &__r # r3 : upper half of 64 bit word n # r4 : lower half of 64 bit word n # r5 : divisor d # the reminder r of the division is to be stored to &__r and # the quotient q is to be returned .text .globl __udiv_qrnnd __udiv_qrnnd: st %r2,24(%r15) # store pointer to reminder for later ...
alibaba/LVS
2,437
kernel/arch/s390/kvm/sie64a.S
/* * sie64a.S - low level sie call * * Copyright IBM Corp. 2008,2010 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License (version 2 only) * as published by the Free Software Foundation. * * Author(s): Heiko Carstens <heiko.carstens@...
alibaba/LVS
3,034
kernel/arch/s390/kernel/vdso32/clock_gettime.S
/* * Userland implementation of clock_gettime() for 32 bits processes in a * s390 kernel for use in the vDSO * * Copyright IBM Corp. 2008 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
alibaba/LVS
3,430
kernel/arch/s390/kernel/vdso32/vdso32.lds.S
/* * This is the infamous ld script for the 32 bits vdso * library */ #include <asm/vdso.h> OUTPUT_FORMAT("elf32-s390", "elf32-s390", "elf32-s390") OUTPUT_ARCH(s390:31-bit) ENTRY(_start) SECTIONS { . = VDSO32_LBASE + SIZEOF_HEADERS; .hash : { *(.hash) } :text .gnu.hash : { *(.gnu.hash) } .dynsym : { *(.dy...
alibaba/LVS
1,979
kernel/arch/s390/kernel/vdso32/gettimeofday.S
/* * Userland implementation of gettimeofday() for 32 bits processes in a * s390 kernel for use in the vDSO * * Copyright IBM Corp. 2008 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
alibaba/LVS
3,249
kernel/arch/s390/kernel/vdso64/clock_gettime.S
/* * Userland implementation of clock_gettime() for 64 bits processes in a * s390 kernel for use in the vDSO * * Copyright IBM Corp. 2008 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pu...
alibaba/LVS
3,430
kernel/arch/s390/kernel/vdso64/vdso64.lds.S
/* * This is the infamous ld script for the 64 bits vdso * library */ #include <asm/vdso.h> OUTPUT_FORMAT("elf64-s390", "elf64-s390", "elf64-s390") OUTPUT_ARCH(s390:64-bit) ENTRY(_start) SECTIONS { . = VDSO64_LBASE + SIZEOF_HEADERS; .hash : { *(.hash) } :text .gnu.hash : { *(.gnu.hash) } .dynsym : { *(.dy...
alibaba/LVS
1,147
kernel/arch/s390/kernel/vdso64/clock_getres.S
/* * Userland implementation of clock_getres() for 64 bits processes in a * s390 kernel for use in the vDSO * * Copyright IBM Corp. 2008 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
alibaba/LVS
1,626
kernel/arch/s390/kernel/vdso64/gettimeofday.S
/* * Userland implementation of gettimeofday() for 64 bits processes in a * s390 kernel for use in the vDSO * * Copyright IBM Corp. 2008 * Author(s): Martin Schwidefsky (schwidefsky@de.ibm.com) * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Pub...
alibaba/LVS
22,729
kernel/arch/x86/ia32/ia32entry.S
/* * Compatibility mode system call entry point for x86-64. * * Copyright 2000-2002 Andi Kleen, SuSE Labs. */ #include <asm/dwarf2.h> #include <asm/calling.h> #include <asm/asm-offsets.h> #include <asm/current.h> #include <asm/errno.h> #include <asm/ia32_unistd.h> #include <asm/thread_info.h> #include <as...
alibaba/LVS
3,672
kernel/arch/x86/xen/xen-asm.S
/* * Asm versions of Xen pv-ops, suitable for either direct use or * inlining. The inline versions are the same as the direct-use * versions, with the pre- and post-amble chopped off. * * This code is encoded for size rather than absolute efficiency, with * a view to being able to inline as much as possible. * ...
alibaba/LVS
6,770
kernel/arch/x86/xen/xen-asm_32.S
/* * Asm versions of Xen pv-ops, suitable for either direct use or * inlining. The inline versions are the same as the direct-use * versions, with the pre- and post-amble chopped off. * * This code is encoded for size rather than absolute efficiency, with * a view to being able to inline as much as possible. * ...
alibaba/LVS
3,374
kernel/arch/x86/xen/xen-asm_64.S
/* * Asm versions of Xen pv-ops, suitable for either direct use or * inlining. The inline versions are the same as the direct-use * versions, with the pre- and post-amble chopped off. * * This code is encoded for size rather than absolute efficiency, with * a view to being able to inline as much as possible. * ...
alibaba/LVS
1,605
kernel/arch/x86/xen/xen-head.S
/* Xen-specific pieces of head.S, intended to be included in the right place in head.S */ #ifdef CONFIG_XEN #include <linux/elfnote.h> #include <linux/init.h> #include <asm/boot.h> #include <asm/asm.h> #include <asm/page_types.h> #include <xen/interface/elfnote.h> #include <asm/xen/interface.h> __INIT ENTRY(star...
alibaba/LVS
1,621
kernel/arch/x86/power/hibernate_asm_32.S
/* * This may not use any stack, nor any variable that is not "NoSave": * * Its rewriting one kernel image with another. What is stack in "old" * image could very well be data page in "new" image, and overwriting * your own stack under you is bad idea. */ #include <linux/linkage.h> #include <asm/segment.h> #incl...
alibaba/LVS
3,878
kernel/arch/x86/power/hibernate_asm_64.S
/* * Hibernation support for x86-64 * * Distribute under GPLv2. * * Copyright 2007 Rafael J. Wysocki <rjw@sisk.pl> * Copyright 2005 Andi Kleen <ak@suse.de> * Copyright 2004 Pavel Machek <pavel@suse.cz> * * swsusp_arch_resume must not use any stack or any nonlocal variables while * copying pages: * * Its rew...
alibaba/LVS
1,585
kernel/arch/x86/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. */ SECTIONS { . = VDSO_PRELINK + SIZEOF_HEADERS; .hash : { *(.hash) } :text .gnu.hash : { *(.gnu.hash) } .dynsym : { *(.dynsym) } .dynstr ...
alibaba/LVS
39,295
kernel/arch/x86/kernel/entry_64.S
/* * linux/arch/x86_64/entry.S * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright (C) 2000, 2001, 2002 Andi Kleen SuSE Labs * Copyright (C) 2000 Pavel Machek <pavel@suse.cz> */ /* * entry.S contains the system-call and fault low-level handling routines. * * NOTE: This code handles signal-recogniti...
alibaba/LVS
2,784
kernel/arch/x86/kernel/efi_stub_32.S
/* * EFI call stub for IA32. * * This stub allows us to make EFI calls in physical mode with interrupts * turned off. */ #include <linux/linkage.h> #include <asm/page_types.h> /* * efi_call_phys(void *, ...) is a function with variable parameters. * All the callers of this function assure that all the paramete...
alibaba/LVS
4,287
kernel/arch/x86/kernel/trampoline_64.S
/* * * Trampoline.S Derived from Setup.S by Linus Torvalds * * 4 Jan 1997 Michael Chastain: changed to gnu as. * 15 Sept 2005 Eric Biederman: 64bit PIC support * * Entry: CS:IP point to the start of our code, we are * in real mode with no stack, but the rest of the * trampoline page to make our stack and eve...
alibaba/LVS
2,273
kernel/arch/x86/kernel/trampoline_32.S
/* * * Trampoline.S Derived from Setup.S by Linus Torvalds * * 4 Jan 1997 Michael Chastain: changed to gnu as. * * This is only used for booting secondary CPUs in SMP machine * * Entry: CS:IP point to the start of our code, we are * in real mode with no stack, but the rest of the * trampoline page to make o...
alibaba/LVS
2,834
kernel/arch/x86/kernel/verify_cpu_64.S
/* * * verify_cpu.S - Code for cpu long mode and SSE verification. This * code has been borrowed from boot/setup.S and was introduced by * Andi Kleen. * * Copyright (c) 2007 Andi Kleen (ak@suse.de) * Copyright (c) 2007 Eric Biederman (ebiederm@xmission.com) * Copyright (c) 2007 Vivek Goyal (vgoyal@in.ibm.co...
alibaba/LVS
17,288
kernel/arch/x86/kernel/head_32.S
/* * * Copyright (C) 1991, 1992 Linus Torvalds * * Enhanced CPU detection and feature setting code by Mike Jagdis * and Martin Mares, November 1997. */ .text #include <linux/threads.h> #include <linux/init.h> #include <linux/linkage.h> #include <asm/segment.h> #include <asm/page_types.h> #include <asm/pgtabl...
alibaba/LVS
8,343
kernel/arch/x86/kernel/syscall_table_32.S
ENTRY(sys_call_table) .long sys_restart_syscall /* 0 - old "setup()" system call, used for restarting */ .long sys_exit .long ptregs_fork .long sys_read .long sys_write .long sys_open /* 5 */ .long sys_close .long sys_waitpid .long sys_creat .long sys_link .long sys_unlink /* 10 */ .long ptregs_execve .lo...
alibaba/LVS
33,099
kernel/arch/x86/kernel/entry_32.S
/* * * Copyright (C) 1991, 1992 Linus Torvalds */ /* * entry.S contains the system-call and fault low-level handling routines. * This also contains the timer-interrupt handler, as well as all interrupts * and faults that can result in a task-switch. * * NOTE: This code handles signal-recognition, which happe...
alibaba/LVS
5,626
kernel/arch/x86/kernel/relocate_kernel_32.S
/* * relocate_kernel.S - put the kernel image in place to boot * Copyright (C) 2002-2004 Eric Biederman <ebiederm@xmission.com> * * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more details. */ #include <linux/linkage.h> #include <asm/page_types.h> #i...
alibaba/LVS
8,457
kernel/arch/x86/kernel/vmlinux.lds.S
/* * ld script for the x86 kernel * * Historic 32-bit version written by Martin Mares <mj@atrey.karlin.mff.cuni.cz> * * Modernisation, unification and other changes and fixes: * Copyright (C) 2007-2009 Sam Ravnborg <sam@ravnborg.org> * * * Don't define absolute symbols until and unless you know that symbol ...
alibaba/LVS
5,278
kernel/arch/x86/kernel/relocate_kernel_64.S
/* * relocate_kernel.S - put the kernel image in place to boot * Copyright (C) 2002-2005 Eric Biederman <ebiederm@xmission.com> * * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more details. */ #include <linux/linkage.h> #include <asm/page_types.h> #i...
alibaba/LVS
11,010
kernel/arch/x86/kernel/head_64.S
/* * linux/arch/x86_64/kernel/head.S -- start in 32bit and switch to 64bit * * Copyright (C) 2000 Andrea Arcangeli <andrea@suse.de> SuSE * Copyright (C) 2000 Pavel Machek <pavel@suse.cz> * Copyright (C) 2000 Karsten Keil <kkeil@suse.de> * Copyright (C) 2001,2002 Andi Kleen <ak@suse.de> * Copyright (C) 2005...
alibaba/LVS
1,865
kernel/arch/x86/kernel/efi_stub_64.S
/* * Function calling ABI conversion from Linux to EFI for x86_64 * * Copyright (C) 2007 Intel Corp * Bibo Mao <bibo.mao@intel.com> * Huang Ying <ying.huang@intel.com> */ #include <linux/linkage.h> #define SAVE_XMM \ mov %rsp, %rax; \ subq $0x70, %rsp; \ and $~0xf, %rsp; \ mov %rax, (%rsp); \ mov %c...
alibaba/LVS
17,774
kernel/arch/x86/crypto/salsa20-x86_64-asm_64.S
# enter ECRYPT_encrypt_bytes .text .p2align 5 .globl ECRYPT_encrypt_bytes ECRYPT_encrypt_bytes: mov %rsp,%r11 and $31,%r11 add $256,%r11 sub %r11,%rsp # x = arg1 mov %rdi,%r8 # m = arg2 mov %rsi,%rsi # out = arg3 mov %rdx,%rdi # bytes = arg4 mov %rcx,%rdx # unsigned>? bytes - 0 cmp $0,%rdx ...
alibaba/LVS
8,623
kernel/arch/x86/crypto/twofish-x86_64-asm_64.S
/*************************************************************************** * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> * * * * This program is free software; you can redistribute it and/or modify * * it under th...
alibaba/LVS
4,820
kernel/arch/x86/crypto/aes-x86_64-asm_64.S
/* AES (Rijndael) implementation (FIPS PUB 197) for x86_64 * * Copyright (C) 2005 Andreas Steinmetz, <ast@domdv.de> * * License: * This code can be distributed under the terms of the GNU General Public * License (GPL) Version 2 provided that the above header down to and * including this sentence is retained in f...
alibaba/LVS
15,044
kernel/arch/x86/crypto/aesni-intel_asm.S
/* * Implement AES algorithm in Intel AES-NI instructions. * * The white paper of AES-NI instructions can be downloaded from: * http://softwarecommunity.intel.com/isn/downloads/intelavx/AES-Instructions-Set_WP.pdf * * Copyright (C) 2008, Intel Corp. * Author: Huang Ying <ying.huang@intel.com> * ...
alibaba/LVS
9,395
kernel/arch/x86/crypto/twofish-i586-asm_32.S
/*************************************************************************** * Copyright (C) 2006 by Joachim Fritschi, <jfritschi@freenet.de> * * * * This program is free software; you can redistribute it and/or modify * * it under th...
alibaba/LVS
10,637
kernel/arch/x86/crypto/aes-i586-asm_32.S
// ------------------------------------------------------------------------- // Copyright (c) 2001, Dr Brian Gladman < >, Worcester, UK. // All rights reserved. // // LICENSE TERMS // // The free distribution and use of this software in both source and binary // form is allowed (with or without changes...
alibaba/LVS
20,730
kernel/arch/x86/crypto/salsa20-i586-asm_32.S
# salsa20_pm.s version 20051229 # D. J. Bernstein # Public domain. # enter ECRYPT_encrypt_bytes .text .p2align 5 .globl ECRYPT_encrypt_bytes ECRYPT_encrypt_bytes: mov %esp,%eax and $31,%eax add $256,%eax sub %eax,%esp # eax_stack = eax movl %eax,80(%esp) # ebx_stack = ebx movl %ebx,84(%esp) # esi_stack = esi ...
alibaba/LVS
3,276
kernel/arch/x86/crypto/ghash-clmulni-intel_asm.S
/* * Accelerated GHASH implementation with Intel PCLMULQDQ-NI * instructions. This file contains accelerated part of ghash * implementation. More information about PCLMULQDQ can be found at: * * http://software.intel.com/en-us/articles/carry-less-multiplication-and-its-usage-for-computing-the-gcm-mode/ * * Copyr...
alibaba/LVS
3,978
kernel/arch/x86/math-emu/polynom_Xsig.S
/*---------------------------------------------------------------------------+ | polynomial_Xsig.S | | | | Fixed point arithmetic polynomial evaluation. | | ...
alibaba/LVS
10,096
kernel/arch/x86/math-emu/div_Xsig.S
.file "div_Xsig.S" /*---------------------------------------------------------------------------+ | div_Xsig.S | | | | Division subroutine for 96 bit quantities ...
alibaba/LVS
18,004
kernel/arch/x86/math-emu/reg_round.S
.file "reg_round.S" /*---------------------------------------------------------------------------+ | reg_round.S | | | | Rounding/truncation/etc for FPU basic arithmetic functions....
alibaba/LVS
3,308
kernel/arch/x86/math-emu/round_Xsig.S
/*---------------------------------------------------------------------------+ | round_Xsig.S | | | | Copyright (C) 1992,1993,1994,1995 | | ...
alibaba/LVS
10,969
kernel/arch/x86/math-emu/wm_sqrt.S
.file "wm_sqrt.S" /*---------------------------------------------------------------------------+ | wm_sqrt.S | | | | Fixed point arithmetic square root evaluation. ...
alibaba/LVS
2,457
kernel/arch/x86/math-emu/shr_Xsig.S
.file "shr_Xsig.S" /*---------------------------------------------------------------------------+ | shr_Xsig.S | | | | 12 byte right shift function ...
alibaba/LVS
3,643
kernel/arch/x86/math-emu/reg_u_mul.S
.file "reg_u_mul.S" /*---------------------------------------------------------------------------+ | reg_u_mul.S | | | | Core multiplication routine ...
alibaba/LVS
4,178
kernel/arch/x86/math-emu/mul_Xsig.S
/*---------------------------------------------------------------------------+ | mul_Xsig.S | | | | Multiply a 12 byte fixed point number by another fixed point number. | | ...
alibaba/LVS
6,117
kernel/arch/x86/math-emu/reg_u_sub.S
.file "reg_u_sub.S" /*---------------------------------------------------------------------------+ | reg_u_sub.S | | | | Core floating point subtraction routine. ...
alibaba/LVS
1,546
kernel/arch/x86/math-emu/div_small.S
.file "div_small.S" /*---------------------------------------------------------------------------+ | div_small.S | | | | Divide a 64 bit integer by a 32 bit integer & return remain...