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
11,595
arch/x86/crypto/sha1_ssse3_asm.S
/* * This is a SIMD SHA-1 implementation. It requires the Intel(R) Supplemental * SSE3 instruction set extensions introduced in Intel Core Microarchitecture * processors. CPUs supporting Intel(R) AVX extensions will get an additional * boost. * * This work was inspired by the vectorized implementation of Dean Gau...
AirFortressIlikara/LS2K0300-linux-4.19
8,538
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...
AirFortressIlikara/LS2K0300-linux-4.19
4,276
arch/x86/crypto/glue_helper-asm-avx.S
/* * Shared glue code for 128bit block ciphers, AVX assembler macros * * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * 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; e...
AirFortressIlikara/LS2K0300-linux-4.19
13,333
arch/x86/crypto/sha512-ssse3-asm.S
######################################################################## # Implement fast SHA-512 with SSSE3 instructions. (x86_64) # # Copyright (C) 2013 Intel Corporation. # # Authors: # James Guilford <james.guilford@intel.com> # Kirk Yap <kirk.s.yap@intel.com> # David Cote <david.m.cote@intel.com> # ...
AirFortressIlikara/LS2K0300-linux-4.19
11,279
arch/x86/crypto/cast6-avx-x86_64-asm_64.S
/* * Cast6 Cipher 8-way parallel algorithm (AVX/x86_64) * * Copyright (C) 2012 Johannes Goetzfried * <Johannes.Goetzfried@informatik.stud.uni-erlangen.de> * * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * This program is free software; you can redistribute it and/or modify * it under t...
AirFortressIlikara/LS2K0300-linux-4.19
6,124
arch/x86/crypto/crc32-pclmul_asm.S
/* GPL HEADER START * * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * 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. * * This program is distributed in...
AirFortressIlikara/LS2K0300-linux-4.19
104,846
arch/x86/crypto/aesni-intel_avx-x86_64.S
######################################################################## # Copyright (c) 2013, Intel Corporation # # This software is available to you under a choice of one of two # licenses. You may choose to be licensed under the terms of the GNU # General Public License (GPL) Version 2, available from the file # CO...
AirFortressIlikara/LS2K0300-linux-4.19
10,605
arch/x86/crypto/sha256_ni_asm.S
/* * Intel SHA Extensions optimized implementation of a SHA-256 update function * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2015 Intel Corporation. * * This program is free sof...
AirFortressIlikara/LS2K0300-linux-4.19
4,834
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...
AirFortressIlikara/LS2K0300-linux-4.19
12,924
arch/x86/crypto/aegis128l-aesni-asm.S
/* * AES-NI + SSE2 implementation of AEGIS-128L * * Copyright (c) 2017-2018 Ondrej Mosnacek <omosnacek@gmail.com> * Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 ...
AirFortressIlikara/LS2K0300-linux-4.19
11,231
arch/x86/crypto/twofish-avx-x86_64-asm_64.S
/* * Twofish Cipher 8-way parallel algorithm (AVX/x86_64) * * Copyright (C) 2012 Johannes Goetzfried * <Johannes.Goetzfried@informatik.stud.uni-erlangen.de> * * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * This program is free software; you can redistribute it and/or modify * it under...
AirFortressIlikara/LS2K0300-linux-4.19
38,737
arch/x86/crypto/camellia-aesni-avx2-asm_64.S
/* * x86_64/AVX2/AES-NI assembler implementation of Camellia * * Copyright © 2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
19,183
arch/x86/crypto/serpent-sse2-x86_64-asm_64.S
/* * Serpent Cipher 8-way parallel algorithm (x86_64/SSE2) * * Copyright (C) 2011 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> * * Based on crypto/serpent.c by * Copyright (C) 2002 Dag Arne Osvik <osvik@ii.uib.no> * 2003 Herbert Valerio Riedel <hvr@gnu.org> * * This program is free software; you ...
AirFortressIlikara/LS2K0300-linux-4.19
7,233
arch/x86/crypto/twofish-x86_64-asm_64-3way.S
/* * Twofish Cipher 3-way parallel algorithm (x86_64) * * Copyright (C) 2011 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> * * 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 ...
AirFortressIlikara/LS2K0300-linux-4.19
10,495
arch/x86/crypto/aegis256-aesni-asm.S
/* * AES-NI + SSE2 implementation of AEGIS-128L * * Copyright (c) 2017-2018 Ondrej Mosnacek <omosnacek@gmail.com> * Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 ...
AirFortressIlikara/LS2K0300-linux-4.19
14,884
arch/x86/crypto/chacha20-ssse3-x86_64.S
/* * ChaCha20 256-bit cipher algorithm, RFC7539, x64 SSSE3 functions * * Copyright (C) 2015 Martin Willi * * 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 of the License,...
AirFortressIlikara/LS2K0300-linux-4.19
13,461
arch/x86/crypto/crc32c-pcl-intel-asm_64.S
/* * Implement fast CRC32C with PCLMULQDQ instructions. (x86_64) * * The white papers on CRC32C calculations with PCLMULQDQ instruction can be * downloaded from: * http://www.intel.com/content/dam/www/public/us/en/documents/white-papers/crc-iscsi-polynomial-crc32-instruction-paper.pdf * http://www.intel.com/conte...
AirFortressIlikara/LS2K0300-linux-4.19
18,792
arch/x86/crypto/morus1280-sse2-asm.S
/* * SSE2 implementation of MORUS-1280 * * Copyright (c) 2017-2018 Ondrej Mosnacek <omosnacek@gmail.com> * Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved. * * 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 publis...
AirFortressIlikara/LS2K0300-linux-4.19
78,453
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> * ...
AirFortressIlikara/LS2K0300-linux-4.19
6,571
arch/x86/crypto/blowfish-x86_64-asm_64.S
/* * Blowfish Cipher Algorithm (x86_64) * * Copyright (C) 2011 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> * * 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 of the License...
AirFortressIlikara/LS2K0300-linux-4.19
26,575
arch/x86/crypto/des3_ede-asm_64.S
/* * des3_ede-asm_64.S - x86-64 assembly implementation of 3DES cipher * * Copyright © 2014 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * 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; ei...
AirFortressIlikara/LS2K0300-linux-4.19
13,449
arch/x86/crypto/cast5-avx-x86_64-asm_64.S
/* * Cast5 Cipher 16-way parallel algorithm (AVX/x86_64) * * Copyright (C) 2012 Johannes Goetzfried * <Johannes.Goetzfried@informatik.stud.uni-erlangen.de> * * Copyright © 2012 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> * * This program is free software; you can redistribute it and/or modify * it under the...
AirFortressIlikara/LS2K0300-linux-4.19
23,727
arch/x86/crypto/serpent-avx-x86_64-asm_64.S
/* * Serpent Cipher 8-way parallel algorithm (x86_64/AVX) * * Copyright (C) 2012 Johannes Goetzfried * <Johannes.Goetzfried@informatik.stud.uni-erlangen.de> * * Copyright © 2011-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * This program is free software; you can redistribute it and/or modify * it under...
AirFortressIlikara/LS2K0300-linux-4.19
11,315
arch/x86/crypto/poly1305-sse2-x86_64.S
/* * Poly1305 authenticator algorithm, RFC7539, x64 SSE2 functions * * Copyright (C) 2015 Martin Willi * * 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 of the License, o...
AirFortressIlikara/LS2K0300-linux-4.19
17,490
arch/x86/crypto/sha256-avx-asm.S
######################################################################## # Implement fast SHA-256 with AVX1 instructions. (x86_64) # # Copyright (C) 2013 Intel Corporation. # # Authors: # James Guilford <james.guilford@intel.com> # Kirk Yap <kirk.s.yap@intel.com> # Tim Chen <tim.c.chen@linux.intel.com> # # ...
AirFortressIlikara/LS2K0300-linux-4.19
14,329
arch/x86/crypto/serpent-sse2-i586-asm_32.S
/* * Serpent Cipher 4-way parallel algorithm (i586/SSE2) * * Copyright (C) 2011 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> * * Based on crypto/serpent.c by * Copyright (C) 2002 Dag Arne Osvik <osvik@ii.uib.no> * 2003 Herbert Valerio Riedel <hvr@gnu.org> * * This program is free software; you ca...
AirFortressIlikara/LS2K0300-linux-4.19
12,315
arch/x86/crypto/aes_ctrby8_avx-x86_64.S
/* * Implement AES CTR mode by8 optimization with AVX instructions. (x86_64) * * This is AES128/192/256 CTR mode optimization implementation. It requires * the support of Intel(R) AESNI and AVX instructions. * * This work was inspired by the AES CTR mode optimization published * in Intel Optimized IPSEC Cryptogr...
AirFortressIlikara/LS2K0300-linux-4.19
9,345
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...
AirFortressIlikara/LS2K0300-linux-4.19
11,783
arch/x86/crypto/morus640-sse2-asm.S
/* * SSE2 implementation of MORUS-640 * * Copyright (c) 2017-2018 Ondrej Mosnacek <omosnacek@gmail.com> * Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved. * * 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 publish...
AirFortressIlikara/LS2K0300-linux-4.19
14,119
arch/x86/crypto/aegis128-aesni-asm.S
/* * AES-NI + SSE2 implementation of AEGIS-128 * * Copyright (c) 2017-2018 Ondrej Mosnacek <omosnacek@gmail.com> * Copyright (C) 2017-2018 Red Hat, Inc. All rights reserved. * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 a...
AirFortressIlikara/LS2K0300-linux-4.19
13,306
arch/x86/crypto/sha512-avx-asm.S
######################################################################## # Implement fast SHA-512 with AVX instructions. (x86_64) # # Copyright (C) 2013 Intel Corporation. # # Authors: # James Guilford <james.guilford@intel.com> # Kirk Yap <kirk.s.yap@intel.com> # David Cote <david.m.cote@intel.com> # T...
AirFortressIlikara/LS2K0300-linux-4.19
10,654
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...
AirFortressIlikara/LS2K0300-linux-4.19
34,446
arch/x86/crypto/camellia-aesni-avx-asm_64.S
/* * x86_64/AVX/AES-NI assembler implementation of Camellia * * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@iki.fi> * * 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 ver...
AirFortressIlikara/LS2K0300-linux-4.19
5,346
arch/x86/crypto/glue_helper-asm-avx2.S
/* * Shared glue code for 128bit block ciphers, AVX2 assembler macros * * Copyright © 2012-2013 Jussi Kivilinna <jussi.kivilinna@mbnet.fi> * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
12,928
arch/x86/crypto/chacha20-avx2-x86_64.S
/* * ChaCha20 256-bit cipher algorithm, RFC7539, x64 AVX2 functions * * Copyright (C) 2015 Martin Willi * * 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 of the License, ...
AirFortressIlikara/LS2K0300-linux-4.19
7,879
arch/x86/crypto/sha1_ni_asm.S
/* * Intel SHA Extensions optimized implementation of a SHA-1 update function * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2015 Intel Corporation. * * This program is free softw...
AirFortressIlikara/LS2K0300-linux-4.19
23,713
arch/x86/crypto/sha256-avx2-asm.S
######################################################################## # Implement fast SHA-256 with AVX2 instructions. (x86_64) # # Copyright (C) 2013 Intel Corporation. # # Authors: # James Guilford <james.guilford@intel.com> # Kirk Yap <kirk.s.yap@intel.com> # Tim Chen <tim.c.chen@linux.intel.com> # # ...
AirFortressIlikara/LS2K0300-linux-4.19
24,909
arch/x86/crypto/sha512-avx2-asm.S
######################################################################## # Implement fast SHA-512 with AVX2 instructions. (x86_64) # # Copyright (C) 2013 Intel Corporation. # # Authors: # James Guilford <james.guilford@intel.com> # Kirk Yap <kirk.s.yap@intel.com> # David Cote <david.m.cote@intel.com> # ...
AirFortressIlikara/LS2K0300-linux-4.19
2,906
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...
AirFortressIlikara/LS2K0300-linux-4.19
4,042
arch/x86/math-emu/polynom_Xsig.S
/* SPDX-License-Identifier: GPL-2.0 */ /*---------------------------------------------------------------------------+ | polynomial_Xsig.S | | | | Fixed point arithmetic polynomial evaluat...
AirFortressIlikara/LS2K0300-linux-4.19
10,153
arch/x86/math-emu/div_Xsig.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "div_Xsig.S" /*---------------------------------------------------------------------------+ | div_Xsig.S | | | | Division subroutine f...
AirFortressIlikara/LS2K0300-linux-4.19
18,063
arch/x86/math-emu/reg_round.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "reg_round.S" /*---------------------------------------------------------------------------+ | reg_round.S | | | | Rounding/truncation/...
AirFortressIlikara/LS2K0300-linux-4.19
3,384
arch/x86/math-emu/round_Xsig.S
/* SPDX-License-Identifier: GPL-2.0 */ /*---------------------------------------------------------------------------+ | round_Xsig.S | | | | Copyright (C) 1992,1993,1994,1995 ...
AirFortressIlikara/LS2K0300-linux-4.19
11,026
arch/x86/math-emu/wm_sqrt.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "wm_sqrt.S" /*---------------------------------------------------------------------------+ | wm_sqrt.S | | | | Fixed point arithmetic...
AirFortressIlikara/LS2K0300-linux-4.19
2,514
arch/x86/math-emu/shr_Xsig.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "shr_Xsig.S" /*---------------------------------------------------------------------------+ | shr_Xsig.S | | | | 12 byte right shift f...
AirFortressIlikara/LS2K0300-linux-4.19
3,701
arch/x86/math-emu/reg_u_mul.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "reg_u_mul.S" /*---------------------------------------------------------------------------+ | reg_u_mul.S | | | | Core multiplication ...
AirFortressIlikara/LS2K0300-linux-4.19
4,279
arch/x86/math-emu/mul_Xsig.S
/* SPDX-License-Identifier: GPL-2.0 */ /*---------------------------------------------------------------------------+ | mul_Xsig.S | | | | Multiply a 12 byte fixed point number by ...
AirFortressIlikara/LS2K0300-linux-4.19
6,175
arch/x86/math-emu/reg_u_sub.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "reg_u_sub.S" /*---------------------------------------------------------------------------+ | reg_u_sub.S | | | | Core floating point ...
AirFortressIlikara/LS2K0300-linux-4.19
1,607
arch/x86/math-emu/div_small.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "div_small.S" /*---------------------------------------------------------------------------+ | div_small.S | | | | Divide a 64 bit inte...
AirFortressIlikara/LS2K0300-linux-4.19
4,030
arch/x86/math-emu/reg_u_add.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "reg_u_add.S" /*---------------------------------------------------------------------------+ | reg_u_add.S | | | | Add two valid (TAG_V...
AirFortressIlikara/LS2K0300-linux-4.19
3,681
arch/x86/math-emu/reg_norm.S
/* SPDX-License-Identifier: GPL-2.0 */ /*---------------------------------------------------------------------------+ | reg_norm.S | | | | Copyright (C) 1992,1993,1994,1995,1997 ...
AirFortressIlikara/LS2K0300-linux-4.19
6,284
arch/x86/math-emu/wm_shrx.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "wm_shrx.S" /*---------------------------------------------------------------------------+ | wm_shrx.S | | | | 64 bit right shift fun...
AirFortressIlikara/LS2K0300-linux-4.19
12,441
arch/x86/math-emu/reg_u_div.S
/* SPDX-License-Identifier: GPL-2.0 */ .file "reg_u_div.S" /*---------------------------------------------------------------------------+ | reg_u_div.S | | | | Divide one FPU_REG b...
AirFortressIlikara/LS2K0300-linux-4.19
2,479
arch/x86/lib/hweight.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/export.h> #include <asm/asm.h> /* * unsigned int __sw_hweight32(unsigned int w) * %rdi: w */ ENTRY(__sw_hweight32) #ifdef CONFIG_X86_64 movl %edi, %eax # w #endif __ASM_SIZE(push,) %__ASM_REG(dx) movl %eax, %edx # w -> t shr...
AirFortressIlikara/LS2K0300-linux-4.19
2,553
arch/x86/lib/atomic64_386_32.S
/* * atomic64_t for 386/486 * * Copyright © 2010 Luca Barbieri * * 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 of the License, or * (at your option) any later version...
AirFortressIlikara/LS2K0300-linux-4.19
6,034
arch/x86/lib/memcpy_64.S
/* Copyright 2002 Andi Kleen */ #include <linux/linkage.h> #include <asm/errno.h> #include <asm/cpufeatures.h> #include <asm/mcsafe_test.h> #include <asm/alternative-asm.h> #include <asm/export.h> /* * We build a jump to memcpy_orig by default which gets NOPped out on * the majority of x86 CPUs which set REP_GOOD. ...
AirFortressIlikara/LS2K0300-linux-4.19
7,850
arch/x86/lib/copy_user_64.S
/* * Copyright 2008 Vitaly Mayatskikh <vmayatsk@redhat.com> * Copyright 2002 Andi Kleen, SuSE Labs. * Subject to the GNU Public License v2. * * Functions to copy from and to user space. */ #include <linux/linkage.h> #include <asm/current.h> #include <asm/asm-offsets.h> #include <asm/thread_info.h> #include <asm/...
AirFortressIlikara/LS2K0300-linux-4.19
1,253
arch/x86/lib/retpoline.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/stringify.h> #include <linux/linkage.h> #include <asm/dwarf2.h> #include <asm/cpufeatures.h> #include <asm/alternative-asm.h> #include <asm/export.h> #include <asm/nospec-branch.h> .macro THUNK reg .section .text.__x86.indirect_thunk ENTRY(__x86_indirect_thunk_...
AirFortressIlikara/LS2K0300-linux-4.19
3,748
arch/x86/lib/rwsem.S
/* * x86 semaphore implementation. * * (C) Copyright 1999 Linus Torvalds * * Portions Copyright 1999 Red Hat, Inc. * * 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 ...
AirFortressIlikara/LS2K0300-linux-4.19
2,782
arch/x86/lib/memset_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* Copyright 2002 Andi Kleen, SuSE Labs */ #include <linux/linkage.h> #include <asm/cpufeatures.h> #include <asm/alternative-asm.h> #include <asm/export.h> /* * ISO C memset - set a memory block to a byte value. This function uses fast * string to get better performance than t...
AirFortressIlikara/LS2K0300-linux-4.19
1,670
arch/x86/lib/msr-reg.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <linux/errno.h> #include <asm/asm.h> #include <asm/msr.h> #ifdef CONFIG_X86_64 /* * int {rdmsr,wrmsr}_safe_regs(u32 gprs[8]); * * reg layout: u32 gprs[eax, ecx, edx, ebx, esp, ebp, esi, edi] * */ .macro op_safe_regs op ENTRY(\op\()_safe_re...
AirFortressIlikara/LS2K0300-linux-4.19
10,392
arch/x86/lib/checksum_32.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 * * Authors: Jorge Cwik, <jorge@laser.satlink.net> * Arnt Gulbrandsen, <a...
AirFortressIlikara/LS2K0300-linux-4.19
3,746
arch/x86/lib/csum-copy_64.S
/* * Copyright 2002, 2003 Andi Kleen, SuSE Labs. * * 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. No warranty for anything given at all. */ #include <linux/linkage.h> #include <asm/errno.h> #in...
AirFortressIlikara/LS2K0300-linux-4.19
1,837
arch/x86/lib/copy_page_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* Written 2003 by Andi Kleen, based on a kernel by Evandro Menezes */ #include <linux/linkage.h> #include <asm/cpufeatures.h> #include <asm/alternative-asm.h> #include <asm/export.h> /* * Some CPUs run faster using the string copy instructions (sane microcode). * It is also a...
AirFortressIlikara/LS2K0300-linux-4.19
2,772
arch/x86/lib/atomic64_cx8_32.S
/* * atomic64_t for 586+ * * Copyright © 2010 Luca Barbieri * * 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 of the License, or * (at your option) any later version. ...
AirFortressIlikara/LS2K0300-linux-4.19
3,596
arch/x86/lib/memmove_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Normally compiler builtins are used, but sometimes the compiler calls out * of line code. Based on asm-i386/string.h. * * This assembly file is re-written from memmove_64.c file. * - Copyright 2011 Fenghua Yu <fenghua.yu@intel.com> */ #include <linux/linkage.h> #include...
AirFortressIlikara/LS2K0300-linux-4.19
1,165
arch/x86/lib/cmpxchg16b_emu.S
/* * 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; version 2 * of the License. * */ #include <linux/linkage.h> #include <asm/percpu.h> .text /* * Inputs: * %rsi : memory location to co...
AirFortressIlikara/LS2K0300-linux-4.19
3,067
arch/x86/lib/getuser.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * __get_user functions. * * (C) Copyright 1998 Linus Torvalds * (C) Copyright 2005 Andi Kleen * (C) Copyright 2008 Glauber Costa * * These functions have a non-standard call interface * to make them more efficient, especially as they * return an error value in addition...
AirFortressIlikara/LS2K0300-linux-4.19
2,036
arch/x86/lib/putuser.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * __put_user functions. * * (C) Copyright 2005 Linus Torvalds * (C) Copyright 2005 Andi Kleen * (C) Copyright 2008 Glauber Costa * * These functions have a non-standard call interface * to make them more efficient, especially as they * return an error value in addition...
AirFortressIlikara/LS2K0300-linux-4.19
1,905
arch/x86/purgatory/entry64.S
/* * Copyright (C) 2003,2004 Eric Biederman (ebiederm@xmission.com) * Copyright (C) 2014 Red Hat Inc. * Author(s): Vivek Goyal <vgoyal@redhat.com> * * This code has been taken from kexec-tools. * * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more ...
AirFortressIlikara/LS2K0300-linux-4.19
1,113
arch/x86/purgatory/setup-x86_64.S
/* * purgatory: setup code * * Copyright (C) 2003,2004 Eric Biederman (ebiederm@xmission.com) * Copyright (C) 2014 Red Hat Inc. * * This code has been taken from kexec-tools. * * This source code is licensed under the GNU General Public License, * Version 2. See the file COPYING for more details. */ #inclu...
AirFortressIlikara/LS2K0300-linux-4.19
1,588
arch/x86/boot/bioscall.S
/* ----------------------------------------------------------------------- * * Copyright 2009-2014 Intel Corporation; author H. Peter Anvin * * This file is part of the Linux kernel, and is made available under * the terms of the GNU General Public License version 2 or (at your * option) any later version...
AirFortressIlikara/LS2K0300-linux-4.19
17,018
arch/x86/boot/header.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * header.S * * Copyright (C) 1991, 1992 Linus Torvalds * * Based on bootsect.S and setup.S * modified by more people than can be counted * * Rewritten as a common file by H. Peter Anvin (Apr 2007) * * BIG FAT NOTE: We're in real mode using 64k segments. Therefore seg...
AirFortressIlikara/LS2K0300-linux-4.19
1,052
arch/x86/boot/copy.S
/* ----------------------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * * This file is part of the Linux kernel, and is made available under * the terms of the GNU General Public License version 2. * * ...
AirFortressIlikara/LS2K0300-linux-4.19
1,743
arch/x86/boot/pmjump.S
/* ----------------------------------------------------------------------- * * * Copyright (C) 1991, 1992 Linus Torvalds * Copyright 2007 rPath, Inc. - All Rights Reserved * * This file is part of the Linux kernel, and is made available under * the terms of the GNU General Public License version 2. * * ...
AirFortressIlikara/LS2K0300-linux-4.19
49,248
arch/x86/entry/entry_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * 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. * * Some o...
AirFortressIlikara/LS2K0300-linux-4.19
37,464
arch/x86/entry/entry_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 1991,1992 Linus Torvalds * * entry_32.S contains the system-call and low-level fault and trap handling routines. * * Stack layout while running C code: * ptrace needs to have all registers on the stack. * If the order here is changed, it needs to be * ...
AirFortressIlikara/LS2K0300-linux-4.19
13,808
arch/x86/entry/entry_64_compat.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Compatibility mode system call entry point for x86-64. * * Copyright 2000-2002 Andi Kleen, SuSE Labs. */ #include "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 <a...
AirFortressIlikara/LS2K0300-linux-4.19
1,605
arch/x86/entry/thunk_64.S
/* * Save registers before calling assembly functions. This avoids * disturbance of register allocation in some inline assembly constructs. * Copyright 2001,2002 by Andi Kleen, SuSE Labs. * Added trace_hardirqs callers - Copyright 2007 Steven Rostedt, Red Hat, Inc. * Subject to the GNU public license, v.2. No warr...
AirFortressIlikara/LS2K0300-linux-4.19
4,432
arch/x86/mm/mem_encrypt_boot.S
/* * AMD Memory Encryption Support * * Copyright (C) 2016 Advanced Micro Devices, Inc. * * Author: Tom Lendacky <thomas.lendacky@amd.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...
AirFortressIlikara/LS2K0300-linux-4.19
1,624
arch/x86/um/vdso/vdso-layout.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * 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)...
AirFortressIlikara/LS2K0300-linux-4.19
4,455
arch/x86/realmode/rm/trampoline_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * * 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 * tram...
AirFortressIlikara/LS2K0300-linux-4.19
1,871
arch/x86/realmode/rm/trampoline_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * * 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 res...
AirFortressIlikara/LS2K0300-linux-4.19
3,765
arch/x86/realmode/rm/wakeup_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * ACPI wakeup real mode startup stub */ #include <linux/linkage.h> #include <asm/segment.h> #include <asm/msr-index.h> #include <asm/page_types.h> #include <asm/pgtable_types.h> #include <asm/processor-flags.h> #include "realmode.h" #include "wakeup.h" .code16 /* This shou...
AirFortressIlikara/LS2K0300-linux-4.19
4,185
arch/x86/realmode/rm/reboot.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/segment.h> #include <asm/page_types.h> #include <asm/processor-flags.h> #include <asm/msr-index.h> #include "realmode.h" /* * The following code and data reboots the machine by switching to real * mode and jumping to the BIOS reset entry...
AirFortressIlikara/LS2K0300-linux-4.19
2,202
arch/x86/platform/olpc/xo1-wakeup.S
/* SPDX-License-Identifier: GPL-2.0 */ .text #include <linux/linkage.h> #include <asm/segment.h> #include <asm/page.h> #include <asm/pgtable_32.h> .macro writepost,value movb $0x34, %al outb %al, $0x70 movb $\value, %al outb %al, $0x71 .endm wakeup_start: # OFW lands us here, running in protected mode, wit...
AirFortressIlikara/LS2K0300-linux-4.19
2,823
arch/x86/platform/efi/efi_stub_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * 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 thi...
AirFortressIlikara/LS2K0300-linux-4.19
3,117
arch/x86/platform/efi/efi_thunk_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2014 Intel Corporation; author Matt Fleming * * Support for invoking 32-bit EFI runtime services from a 64-bit * kernel. * * The below thunking functions are only used after ExitBootServices() * has been called. This simplifies things considerably as comp...
AirFortressIlikara/LS2K0300-linux-4.19
1,202
arch/x86/platform/efi/efi_stub_64.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * 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> #include <asm/segment.h> #include <asm/msr.h> #include <asm/processor-flags....
AirFortressIlikara/LS2K0300-linux-4.19
2,974
arch/x86/kernel/acpi/wakeup_64.S
.text #include <linux/linkage.h> #include <asm/segment.h> #include <asm/pgtable_types.h> #include <asm/page_types.h> #include <asm/msr.h> #include <asm/asm-offsets.h> #include <asm/frame.h> # Copyright 2003 Pavel Machek <pavel@suse.cz>, distribute under GPLv2 .code64 /* * Hooray, we are in Long 64-bit mode (but st...
AirFortressIlikara/LS2K0300-linux-4.19
1,717
arch/x86/kernel/acpi/wakeup_32.S
.text #include <linux/linkage.h> #include <asm/segment.h> #include <asm/page_types.h> # Copyright 2003, 2008 Pavel Machek <pavel@suse.cz>, distribute under GPLv2 .code32 ALIGN ENTRY(wakeup_pmode_return) wakeup_pmode_return: movw $__KERNEL_DS, %ax movw %ax, %ss movw %ax, %fs movw %ax, %gs movw $__USER_DS, %a...
AirFortressIlikara/LS2K0300-linux-4.19
9,399
arch/x86/crypto/sha256-mb/sha256_mb_mgr_datastruct.S
/* * Header file for multi buffer SHA256 algorithm data structure * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2016 Intel Corporation. * * This program is free software; you can...
AirFortressIlikara/LS2K0300-linux-4.19
8,494
arch/x86/crypto/sha256-mb/sha256_mb_mgr_flush_avx2.S
/* * Flush routine for SHA256 multibuffer * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2016 Intel Corporation. * * This program is free software; you can redistribute it and/o...
AirFortressIlikara/LS2K0300-linux-4.19
18,835
arch/x86/crypto/sha256-mb/sha256_x8_avx2.S
/* * Multi-buffer SHA256 algorithm hash compute routine * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2016 Intel Corporation. * * This program is free software; you can redistr...
AirFortressIlikara/LS2K0300-linux-4.19
6,223
arch/x86/crypto/sha256-mb/sha256_mb_mgr_submit_avx2.S
/* * Buffer submit code for multi buffer SHA256 algorithm * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2016 Intel Corporation. * * This program is free software; you can redis...
AirFortressIlikara/LS2K0300-linux-4.19
13,074
arch/x86/crypto/sha1-mb/sha1_x8_avx2.S
/* * Multi-buffer SHA1 algorithm hash compute routine * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2014 Intel Corporation. * * This program is free software; you can redistrib...
AirFortressIlikara/LS2K0300-linux-4.19
8,771
arch/x86/crypto/sha1-mb/sha1_mb_mgr_datastruct.S
/* * Header file for multi buffer SHA1 algorithm data structure * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2014 Intel Corporation. * * This program is free software; you can...
AirFortressIlikara/LS2K0300-linux-4.19
8,432
arch/x86/crypto/sha1-mb/sha1_mb_mgr_flush_avx2.S
/* * Flush routine for SHA1 multibuffer * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2014 Intel Corporation. * * This program is free software; you can redistribute it and/or ...
AirFortressIlikara/LS2K0300-linux-4.19
6,139
arch/x86/crypto/sha1-mb/sha1_mb_mgr_submit_avx2.S
/* * Buffer submit code for multi buffer SHA1 algorithm * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2014 Intel Corporation. * * This program is free software; you can redistr...
AirFortressIlikara/LS2K0300-linux-4.19
17,606
arch/x86/crypto/sha512-mb/sha512_x4_avx2.S
/* * Multi-buffer SHA512 algorithm hash compute routine * * This file is provided under a dual BSD/GPLv2 license. When using or * redistributing this file, you may do so under either license. * * GPL LICENSE SUMMARY * * Copyright(c) 2016 Intel Corporation. * * This program is free software; you can redistrib...