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
32,564
arch/powerpc/kernel/entry_64.S
/* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP * Copyright (C) 1996 Cort Dougan <cort@cs.nmt.edu> * Adapted for Power Macintosh by Paul Mackerras. * Low-level exception handlers and MMU support * rewritten by Paul Ma...
AirFortressIlikara/LS2K0300-linux-4.19
11,087
arch/powerpc/kernel/l2cr_6xx.S
/* L2CR functions Copyright © 1997-1998 by PowerLogix R & D, 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 of the License, or (at your option) any later version. This ...
AirFortressIlikara/LS2K0300-linux-4.19
4,185
arch/powerpc/kernel/cpu_setup_ppc970.S
/* * This file contains low level CPU setup functions. * Copyright (C) 2003 Benjamin Herrenschmidt (benh@kernel.crashing.org) * * 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 ve...
AirFortressIlikara/LS2K0300-linux-4.19
7,398
arch/powerpc/kernel/cpu_setup_fsl_booke.S
/* * This file contains low level CPU setup functions. * Kumar Gala <galak@kernel.crashing.org> * Copyright 2009 Freescale Semiconductor, Inc. * * Based on cpu_setup_6xx code by * Benjamin Herrenschmidt <benh@kernel.crashing.org> * * This program is free software; you can redistribute it and/or * modify it und...
AirFortressIlikara/LS2K0300-linux-4.19
1,749
arch/powerpc/kernel/systbl.S
/* * This file contains the table of syscall-handling functions. * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Largely rewritten by Cort Dougan (cort@cs.nmt.edu) * and Paul Mackerras. * * Adapted for iSeries by Mike Corrigan (mikejc@us.ibm.com) * PPC64 updates by Dave Engebretsen (engebret@us....
AirFortressIlikara/LS2K0300-linux-4.19
6,782
arch/powerpc/kernel/vector.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm/processor.h> #include <asm/ppc_asm.h> #include <asm/reg.h> #include <asm/asm-offsets.h> #include <asm/cputable.h> #include <asm/thread_info.h> #include <asm/page.h> #include <asm/ptrace.h> #include <asm/export.h> #include <asm/asm-compat.h> /* * Load state from mem...
AirFortressIlikara/LS2K0300-linux-4.19
1,388
arch/powerpc/kernel/epapr_hcalls.S
/* * Copyright (C) 2012 Freescale Semiconductor, 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 of the License, or (at your option) any later version. */ #incl...
AirFortressIlikara/LS2K0300-linux-4.19
2,310
arch/powerpc/kernel/idle_e500.S
/* * Copyright (C) 2008 Freescale Semiconductor, Inc. All rights reserved. * Dave Liu <daveliu@freescale.com> * copy from idle_6xx.S and modify for e500 based processor, * implement the power_save function in idle. * * This program is free software; you can redistribute it and/or * modify it under the terms of t...
AirFortressIlikara/LS2K0300-linux-4.19
8,194
arch/powerpc/kernel/swsusp_32.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/threads.h> #include <asm/processor.h> #include <asm/page.h> #include <asm/cputable.h> #include <asm/thread_info.h> #include <asm/ppc_asm.h> #include <asm/asm-offsets.h> #include <asm/mmu.h> #include <asm/feature-fixups.h> /* * Structure for storing CPU registers ...
AirFortressIlikara/LS2K0300-linux-4.19
5,823
arch/powerpc/kernel/fsl_booke_entry_mapping.S
/* SPDX-License-Identifier: GPL-2.0 */ /* 1. Find the index of the entry we're executing in */ bl invstr /* Find our address */ invstr: mflr r6 /* Make it accessible */ mfmsr r7 rlwinm r4,r7,27,31,31 /* extract MSR[IS] */ mfspr r7, SPRN_PID0 slwi r7,r7,16 or r7,r7,r4 mtspr SPRN_MAS6,r7 tlbsx 0,r6 /*...
AirFortressIlikara/LS2K0300-linux-4.19
2,103
arch/powerpc/kernel/reloc_64.S
/* * Code to process dynamic relocations in the kernel. * * Copyright 2008 Paul Mackerras, IBM Corp. * * 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 Licen...
AirFortressIlikara/LS2K0300-linux-4.19
33,498
arch/powerpc/kernel/head_44x.S
/* * Kernel execution entry point code. * * Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org> * Initial PowerPC version. * Copyright (c) 1996 Cort Dougan <cort@cs.nmt.edu> * Rewritten for PReP * Copyright (c) 1996 Paul Mackerras <paulus@cs.anu.edu.au> * Low-level exception handers, ...
AirFortressIlikara/LS2K0300-linux-4.19
5,088
arch/powerpc/kernel/idle_6xx.S
/* * This file contains the power_save function for 6xx & 7xxx CPUs * rewritten in assembler * * Warning ! This code assumes that if your machine has a 750fx * it will have PLL 1 set to low speed mode (used during NAP/DOZE). * if this is not the case some additional changes will have to * be done to check ...
AirFortressIlikara/LS2K0300-linux-4.19
2,209
arch/powerpc/kernel/idle_power4.S
/* * This file contains the power_save function for 970-family CPUs. * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
2,377
arch/powerpc/kernel/idle_book3e.S
/* * Copyright 2010 IBM Corp, Benjamin Herrenschmidt <benh@kernel.crashing.org> * * Generic idle routine for Book3E processors * * 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
12,356
arch/powerpc/kernel/tm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Transactional memory support routines to reclaim and recheckpoint * transactional process state. * * Copyright 2012 Matt Evans & Michael Neuling, IBM Corporation. */ #include <asm/asm-offsets.h> #include <asm/ppc_asm.h> #include <asm/ppc-opcode.h> #include <asm/ptrace.h...
AirFortressIlikara/LS2K0300-linux-4.19
3,995
arch/powerpc/kernel/fpu.S
/* * FPU support code, moved here from head.S so that it can be used * by chips which use other head-whatever.S files. * * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * Copyright (C) 1996 Cort Dougan <cort@cs.nmt.edu> * Copyright (C) 1996 Paul Mackerras. * Copyright (C) 1997 Dan Malek (d...
AirFortressIlikara/LS2K0300-linux-4.19
2,199
arch/powerpc/kernel/ppc_save_regs.S
/* * Copyright (C) 1996 Paul Mackerras. * * 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
2,465
arch/powerpc/kernel/misc.S
/* * This file contains miscellaneous low-level functions. * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Largely rewritten by Cort Dougan (cort@cs.nmt.edu) * and Paul Mackerras. * * PPC64 updates by Dave Engebretsen (engebret@us.ibm.com) * * setjmp/longjmp code by Paul Mackerras. * * This p...
AirFortressIlikara/LS2K0300-linux-4.19
1,218
arch/powerpc/kernel/cpu_setup_pa6t.S
/* * Copyright (C) 2006-2007 PA Semi, Inc * * Maintained by: Olof Johansson <olof@lixom.net> * * 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. * * This program is distributed ...
AirFortressIlikara/LS2K0300-linux-4.19
11,210
arch/powerpc/kernel/cpu_setup_6xx.S
/* * This file contains low level CPU setup functions. * Copyright (C) 2003 Benjamin Herrenschmidt (benh@kernel.crashing.org) * * 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 ve...
AirFortressIlikara/LS2K0300-linux-4.19
35,343
arch/powerpc/kernel/head_32.S
/* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP * Copyright (C) 1996 Cort Dougan <cort@cs.nmt.edu> * Adapted for Power Macintosh by Paul Mackerras. * Low-level exception handlers and MMU support * rewritten by Paul ...
AirFortressIlikara/LS2K0300-linux-4.19
56,036
arch/powerpc/kernel/exceptions-64s.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * This file contains the 64-bit "server" PowerPC variant * of the low level exception handling including exception * vectors, exception return, part of the slb and stab * handling and other fixed offset specific things. * * This file is meant to be #included from head_64....
AirFortressIlikara/LS2K0300-linux-4.19
2,817
arch/powerpc/kernel/optprobes_head.S
/* * Code to prepare detour buffer for optprobes in Kernel. * * Copyright 2017, Anju T, IBM Corp. * * 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 ...
AirFortressIlikara/LS2K0300-linux-4.19
46,756
arch/powerpc/kernel/exceptions-64e.S
/* * Boot code and exception vectors for Book3E processors * * Copyright (C) 2007 Ben. Herrenschmidt (benh@kernel.crashing.org), IBM Corp. * * 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 Found...
AirFortressIlikara/LS2K0300-linux-4.19
5,262
arch/powerpc/kernel/swsusp_asm64.S
/* * PowerPC 64-bit swsusp implementation * * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> * * GPLv2 */ #include <linux/threads.h> #include <asm/processor.h> #include <asm/page.h> #include <asm/cputable.h> #include <asm/thread_info.h> #include <asm/ppc_asm.h> #include <asm/asm-offsets.h> #include <as...
AirFortressIlikara/LS2K0300-linux-4.19
8,569
arch/powerpc/kernel/kvm_emul.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
34,913
arch/powerpc/kernel/entry_32.S
/* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * Rewritten by Cort Dougan (cort@fsmlabs.com) for PReP * Copyright (C) 1996 Cort Dougan <cort@fsmlabs.com> * Adapted for Power Macintosh by Paul Mackerras. * Low-level exception handlers and MMU support * rewritten by Paul M...
AirFortressIlikara/LS2K0300-linux-4.19
28,384
arch/powerpc/kernel/head_40x.S
/* * Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org> * Initial PowerPC version. * Copyright (c) 1996 Cort Dougan <cort@cs.nmt.edu> * Rewritten for PReP * Copyright (c) 1996 Paul Mackerras <paulus@cs.anu.edu.au> * Low-level exception handers, MMU support, and rewrite. * Copyright...
AirFortressIlikara/LS2K0300-linux-4.19
31,579
arch/powerpc/kernel/head_8xx.S
/* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP * Copyright (C) 1996 Cort Dougan <cort@cs.nmt.edu> * Low-level exception handlers and MMU support * rewritten by Paul Mackerras. * Copyright (C) 1996 Paul Mackerras. *...
AirFortressIlikara/LS2K0300-linux-4.19
31,974
arch/powerpc/kernel/head_fsl_booke.S
/* * Kernel execution entry point code. * * Copyright (c) 1995-1996 Gary Thomas <gdt@linuxppc.org> * Initial PowerPC version. * Copyright (c) 1996 Cort Dougan <cort@cs.nmt.edu> * Rewritten for PReP * Copyright (c) 1996 Paul Mackerras <paulus@cs.anu.edu.au> * Low-level exception handers, MMU support, an...
AirFortressIlikara/LS2K0300-linux-4.19
9,349
arch/powerpc/kernel/vmlinux.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ #ifdef CONFIG_PPC64 #define PROVIDE32(x) PROVIDE(__unused__##x) #else #define PROVIDE32(x) PROVIDE(x) #endif #include <asm/page.h> #include <asm-generic/vmlinux.lds.h> #include <asm/cache.h> #include <asm/thread_info.h> #if defined(CONFIG_STRICT_KERNEL_RWX) && !defined(CONFIG_PPC...
AirFortressIlikara/LS2K0300-linux-4.19
14,878
arch/powerpc/kernel/misc_64.S
/* * This file contains miscellaneous low-level functions. * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Largely rewritten by Cort Dougan (cort@cs.nmt.edu) * and Paul Mackerras. * Adapted for iSeries by Mike Corrigan (mikejc@us.ibm.com) * PPC64 updates by Dave Engebretsen (engebret@us.ibm.com) ...
AirFortressIlikara/LS2K0300-linux-4.19
1,669
arch/powerpc/kernel/cpu_setup_44x.S
/* * This file contains low level CPU setup functions. * Valentine Barshak <vbarshak@ru.mvista.com> * MontaVista Software, Inc (c) 2007 * * Based on cpu_setup_6xx code by * Benjamin Herrenschmidt <benh@kernel.crashing.org> * * This program is free software; you can redistribute it and/or * modify it under the ...
AirFortressIlikara/LS2K0300-linux-4.19
25,671
arch/powerpc/kernel/head_64.S
/* * PowerPC version * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Rewritten by Cort Dougan (cort@cs.nmt.edu) for PReP * Copyright (C) 1996 Cort Dougan <cort@cs.nmt.edu> * Adapted for Power Macintosh by Paul Mackerras. * Low-level exception handlers and MMU support * rewritten by Paul ...
AirFortressIlikara/LS2K0300-linux-4.19
5,553
arch/powerpc/kernel/reloc_32.S
/* * Code to process dynamic relocations for PPC32. * * Copyrights (C) IBM Corporation, 2011. * Author: Suzuki Poulose <suzuki@in.ibm.com> * * - Based on ppc64 code - reloc_64.S * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License *...
AirFortressIlikara/LS2K0300-linux-4.19
4,257
arch/powerpc/kernel/cpu_setup_power.S
/* * This file contains low level CPU setup functions. * Copyright (C) 2003 Benjamin Herrenschmidt (benh@kernel.crashing.org) * * 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 ve...
AirFortressIlikara/LS2K0300-linux-4.19
3,896
arch/powerpc/kernel/swsusp_booke.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Based on swsusp_32.S, modified for FSL BookE by * Anton Vorontsov <avorontsov@ru.mvista.com> * Copyright (c) 2009-2010 MontaVista Software, LLC. */ #include <linux/threads.h> #include <asm/processor.h> #include <asm/page.h> #include <asm/cputable.h> #include <asm/thread_...
AirFortressIlikara/LS2K0300-linux-4.19
26,206
arch/powerpc/kernel/idle_book3s.S
/* * This file contains idle entry/exit functions for POWER7, * POWER8 and POWER9 CPUs. * * 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 y...
AirFortressIlikara/LS2K0300-linux-4.19
23,866
arch/powerpc/kernel/misc_32.S
/* * This file contains miscellaneous low-level functions. * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Largely rewritten by Cort Dougan (cort@cs.nmt.edu) * and Paul Mackerras. * * kexec bits: * Copyright (C) 2002-2003 Eric Biederman <ebiederm@xmission.com> * GameCube/ppc32 port Copyright (...
AirFortressIlikara/LS2K0300-linux-4.19
10,279
arch/powerpc/crypto/sha1-spe-asm.S
/* * Fast SHA-1 implementation for SPE instruction set (PPC) * * This code makes use of the SPE SIMD instruction set as defined in * http://cache.freescale.com/files/32bit/doc/ref_manual/SPEPIM.pdf * Implementation is based on optimization guide notes from * http://cache.freescale.com/files/32bit/doc/app_note/AN2...
AirFortressIlikara/LS2K0300-linux-4.19
6,312
arch/powerpc/crypto/aes-spe-keys.S
/* * Key handling functions for PPC AES implementation * * Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de> * * 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
3,951
arch/powerpc/crypto/sha1-powerpc-asm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * SHA-1 implementation for PowerPC. * * Copyright (C) 2005 Paul Mackerras <paulus@samba.org> */ #include <asm/ppc_asm.h> #include <asm/asm-offsets.h> #include <asm/asm-compat.h> #ifdef __BIG_ENDIAN__ #define LWZ(rt, d, ra) \ lwz rt,d(ra) #else #define LWZ(rt, d, ra) \ l...
AirFortressIlikara/LS2K0300-linux-4.19
11,409
arch/powerpc/crypto/sha256-spe-asm.S
/* * Fast SHA-256 implementation for SPE instruction set (PPC) * * This code makes use of the SPE SIMD instruction set as defined in * http://cache.freescale.com/files/32bit/doc/ref_manual/SPEPIM.pdf * Implementation is based on optimization guide notes from * http://cache.freescale.com/files/32bit/doc/app_note/A...
AirFortressIlikara/LS2K0300-linux-4.19
14,413
arch/powerpc/crypto/crc32-vpmsum_core.S
/* * Core of the accelerated CRC algorithm. * In your file, define the constants and CRC_FUNCTION_NAME * Then include this file. * * Calculate the checksum of data that is 16 byte aligned and a multiple of * 16 bytes. * * The first step is to reduce it to 1024 bits. We do this in 8 parallel * chunks in order t...
AirFortressIlikara/LS2K0300-linux-4.19
14,656
arch/powerpc/crypto/aes-tab-4k.S
/* * 4K AES tables for PPC AES implementation * * Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de> * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
27,929
arch/powerpc/crypto/crc32c-vpmsum_asm.S
/* * Calculate a crc32c with vpmsum acceleration * * Copyright (C) 2015 Anton Blanchard <anton@au.ibm.com>, IBM * * 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 th...
AirFortressIlikara/LS2K0300-linux-4.19
7,729
arch/powerpc/crypto/md5-asm.S
/* * Fast MD5 implementation for PPC * * Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de> * * 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
24,934
arch/powerpc/crypto/crct10dif-vpmsum_asm.S
/* * Calculate a CRC T10DIF with vpmsum acceleration * * Constants generated by crc32-vpmsum, available at * https://github.com/antonblanchard/crc32-vpmsum * * crc32-vpmsum is * Copyright (C) 2015 Anton Blanchard <anton@au.ibm.com>, IBM * and is available under the GPL v2 or later. * * This program is free s...
AirFortressIlikara/LS2K0300-linux-4.19
7,840
arch/powerpc/crypto/aes-spe-core.S
/* * Fast AES implementation for SPE instruction set (PPC) * * This code makes use of the SPE SIMD instruction set as defined in * http://cache.freescale.com/files/32bit/doc/ref_manual/SPEPIM.pdf * Implementation is based on optimization guide notes from * http://cache.freescale.com/files/32bit/doc/app_note/AN266...
AirFortressIlikara/LS2K0300-linux-4.19
14,901
arch/powerpc/crypto/aes-spe-modes.S
/* * AES modes (ECB/CBC/CTR/XTS) for PPC AES implementation * * Copyright (c) 2015 Markus Stockhausen <stockhausen@collogia.de> * * 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 ve...
AirFortressIlikara/LS2K0300-linux-4.19
1,925
arch/powerpc/lib/div64.S
/* * Divide a 64-bit unsigned number by a 32-bit unsigned number. * This routine assumes that the top 32 bits of the dividend are * non-zero to start with. * On entry, r3 points to the dividend, which get overwritten with * the 64-bit quotient, and r4 contains the divisor. * On exit, r3 contains the remainder. *...
AirFortressIlikara/LS2K0300-linux-4.19
10,880
arch/powerpc/lib/memcpy_power7.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; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
AirFortressIlikara/LS2K0300-linux-4.19
4,422
arch/powerpc/lib/memcpy_64.S
/* * Copyright (C) 2002 Paul Mackerras, IBM Corp. * * 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. */ #include <...
AirFortressIlikara/LS2K0300-linux-4.19
3,473
arch/powerpc/lib/string_64.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; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
AirFortressIlikara/LS2K0300-linux-4.19
3,500
arch/powerpc/lib/copypage_power7.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; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
AirFortressIlikara/LS2K0300-linux-4.19
2,691
arch/powerpc/lib/strlen_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * strlen() for PPC32 * * Copyright (C) 2018 Christophe Leroy CS Systemes d'Information. * * Inspired from glibc implementation */ #include <asm/ppc_asm.h> #include <asm/export.h> #include <asm/cache.h> .text /* * Algorithm: * * 1) Given a word 'x', we can test to se...
AirFortressIlikara/LS2K0300-linux-4.19
1,472
arch/powerpc/lib/string_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * String handling functions for PowerPC32 * * Copyright (C) 1996 Paul Mackerras. * */ #include <asm/ppc_asm.h> #include <asm/export.h> #include <asm/cache.h> .text CACHELINE_BYTES = L1_CACHE_BYTES LG_CACHELINE_BYTES = L1_CACHE_SHIFT CACHELINE_MASK = (L1_CACHE_BYTES-1)...
AirFortressIlikara/LS2K0300-linux-4.19
2,266
arch/powerpc/lib/copypage_64.S
/* * Copyright (C) 2008 Mark Nelson, IBM Corp. * * 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. */ #include <asm...
AirFortressIlikara/LS2K0300-linux-4.19
2,347
arch/powerpc/lib/mem_64.S
/* * String handling functions for PowerPC. * * Copyright (C) 1996 Paul Mackerras. * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
4,050
arch/powerpc/lib/ldstfp.S
/* * Floating-point, VMX/Altivec and VSX loads and stores * for use in instruction emulation. * * Copyright 2010 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com> * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
1,289
arch/powerpc/lib/quad.S
/* * Quadword loads and stores * for use in instruction emulation. * * Copyright 2017 Paul Mackerras, IBM Corp. <paulus@au1.ibm.com> * * 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,816
arch/powerpc/lib/copyuser_power7.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; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
AirFortressIlikara/LS2K0300-linux-4.19
1,420
arch/powerpc/lib/string.S
/* * String handling functions for PowerPC. * * Copyright (C) 1996 Paul Mackerras. * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
2,532
arch/powerpc/lib/hweight_64.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; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be use...
AirFortressIlikara/LS2K0300-linux-4.19
11,358
arch/powerpc/lib/copyuser_64.S
/* * Copyright (C) 2002 Paul Mackerras, IBM Corp. * * 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. */ #include <...
AirFortressIlikara/LS2K0300-linux-4.19
7,172
arch/powerpc/lib/checksum_32.S
/* * This file contains assembly-language implementations * of IP-style 1's complement checksum routines. * * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publish...
AirFortressIlikara/LS2K0300-linux-4.19
11,899
arch/powerpc/lib/memcmp_64.S
/* * Author: Anton Blanchard <anton@au.ibm.com> * Copyright 2015 IBM Corporation. * * 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) ...
AirFortressIlikara/LS2K0300-linux-4.19
10,966
arch/powerpc/lib/crtsavres.S
/* * Special support for eabi and SVR4 * * Copyright (C) 1995, 1996, 1998, 2000, 2001 Free Software Foundation, Inc. * Copyright 2008 Freescale Semiconductor, Inc. * Written By Michael Meissner * * Based on gcc/config/rs6000/crtsavres.asm from gcc * 64 bit additions from reading the PPC elf64abi document....
AirFortressIlikara/LS2K0300-linux-4.19
19,869
arch/powerpc/lib/feature-fixups-test.S
/* * Copyright 2008 Michael Ellerman, IBM Corporation. * * * 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
9,941
arch/powerpc/lib/copy_32.S
/* * Memory copy functions for 32-bit PowerPC. * * Copyright (C) 1996-2005 Paul Mackerras. * * 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 you...
AirFortressIlikara/LS2K0300-linux-4.19
8,802
arch/powerpc/lib/checksum_64.S
/* * This file contains assembly-language implementations * of IP-style 1's complement checksum routines. * * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publish...
AirFortressIlikara/LS2K0300-linux-4.19
2,794
arch/powerpc/purgatory/trampoline.S
/* * kexec trampoline * * Based on code taken from kexec-tools and kexec-lite. * * Copyright (C) 2004 - 2005, Milton D Miller II, IBM Corporation * Copyright (C) 2006, Mohan Kumar M, IBM Corporation * Copyright (C) 2013, Anton Blanchard, IBM Corporation * * This program is free software; you can redistribute i...
AirFortressIlikara/LS2K0300-linux-4.19
20,340
arch/powerpc/kvm/bookehv_interrupts.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
3,815
arch/powerpc/kvm/book3s_32_sr.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
15,241
arch/powerpc/kvm/booke_interrupts.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
4,785
arch/powerpc/kvm/book3s_rmhandlers.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
8,628
arch/powerpc/kvm/tm.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
5,876
arch/powerpc/kvm/fpu.S
/* * FPU helper code to use FPU operations from inside the kernel * * Copyright (C) 2010 Alexander Graf (agraf@suse.de) * * 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
10,894
arch/powerpc/kvm/book3s_segment.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
6,363
arch/powerpc/kvm/book3s_interrupts.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
3,740
arch/powerpc/kvm/book3s_64_slb.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
4,330
arch/powerpc/kvm/book3s_hv_interrupts.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
87,812
arch/powerpc/kvm/book3s_hv_rmhandlers.S
/* * 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. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warr...
AirFortressIlikara/LS2K0300-linux-4.19
3,338
arch/powerpc/boot/div64.S
/* * Divide a 64-bit unsigned number by a 32-bit unsigned number. * This routine assumes that the top 32 bits of the dividend are * non-zero to start with. * On entry, r3 points to the dividend, which get overwritten with * the 64-bit quotient, and r4 contains the divisor. * On exit, r3 contains the remainder. *...
AirFortressIlikara/LS2K0300-linux-4.19
2,108
arch/powerpc/boot/ps3-head.S
/* * PS3 bootwrapper entry. * * Copyright (C) 2007 Sony Computer Entertainment Inc. * Copyright 2007 Sony Corp. * * 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 L...
AirFortressIlikara/LS2K0300-linux-4.19
1,327
arch/powerpc/boot/zImage.lds.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <asm-generic/vmlinux.lds.h> #ifdef CONFIG_PPC64_BOOT_WRAPPER OUTPUT_ARCH(powerpc:common64) #else OUTPUT_ARCH(powerpc:common) #endif ENTRY(_zimage_start) EXTERN(_zimage_start) SECTIONS { .text : { _start = .; *(.text) *(.fixup) _etext = .; } ....
AirFortressIlikara/LS2K0300-linux-4.19
2,998
arch/powerpc/boot/ps3-hvcall.S
/* * PS3 bootwrapper hvcalls. * * Copyright (C) 2007 Sony Computer Entertainment Inc. * Copyright 2007 Sony Corp. * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
2,201
arch/powerpc/boot/util.S
/* * Copied from <file:arch/powerpc/kernel/misc_32.S> * * This file contains miscellaneous low-level functions. * Copyright (C) 1995-1996 Gary Thomas (gdt@linuxppc.org) * * Largely rewritten by Cort Dougan (cort@cs.nmt.edu) * and Paul Mackerras. * * kexec bits: * Copyright (C) 2002-2003 Eric Biederman <eb...
AirFortressIlikara/LS2K0300-linux-4.19
1,395
arch/powerpc/boot/opal-calls.S
/* * Copyright (c) 2016 IBM Corporation. * * 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. */ #include "ppc_asm....
AirFortressIlikara/LS2K0300-linux-4.19
3,810
arch/powerpc/boot/string.S
/* * Copyright (C) Paul Mackerras 1997. * * 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. * * NOTE: this code ru...
AirFortressIlikara/LS2K0300-linux-4.19
7,280
arch/powerpc/boot/crt0.S
/* * Copyright (C) Paul Mackerras 1997. * * Adapted for 64 bit LE PowerPC by Andrew Tauferner * * 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 ...
AirFortressIlikara/LS2K0300-linux-4.19
6,125
arch/powerpc/boot/crtsavres.S
/* * Special support for eabi and SVR4 * * Copyright (C) 1995, 1996, 1998, 2000, 2001 Free Software Foundation, Inc. * Copyright 2008 Freescale Semiconductor, Inc. * Written By Michael Meissner * * Based on gcc/config/rs6000/crtsavres.asm from gcc * * This file is free software; you can redistribute it a...
AirFortressIlikara/LS2K0300-linux-4.19
3,180
arch/powerpc/boot/wii-head.S
/* * arch/powerpc/boot/wii-head.S * * Nintendo Wii bootwrapper entry. * Copyright (C) 2008-2009 The GameCube Linux Team * Copyright (C) 2008,2009 Albert Herranz * * 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 ...
AirFortressIlikara/LS2K0300-linux-4.19
2,442
arch/powerpc/boot/gamecube-head.S
/* * arch/powerpc/boot/gamecube-head.S * * Nintendo GameCube bootwrapper entry. * Copyright (C) 2004-2009 The GameCube Linux Team * Copyright (C) 2008,2009 Albert Herranz * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as publish...
AirFortressIlikara/LS2K0300-linux-4.19
6,441
arch/powerpc/net/bpf_jit_asm.S
/* bpf_jit.S: Packet/header access helper functions * for PPC64 BPF compiler. * * Copyright 2011 Matt Evans <matt@ozlabs.org>, IBM Corporation * * 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 Founda...
AirFortressIlikara/LS2K0300-linux-4.19
1,053
arch/powerpc/sysdev/dcr-low.S
/* * "Indirect" DCR access * * Copyright (c) 2004 Eugene Surovegin <ebs@ebshome.net> * * 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 * o...
AirFortressIlikara/LS2K0300-linux-4.19
1,077
arch/powerpc/sysdev/6xx-suspend.S
/* * Enter and leave sleep state on chips with 6xx-style HID0 * power management bits, which don't leave sleep state via reset. * * Author: Scott Wood <scottwood@freescale.com> * * Copyright (c) 2006-2007 Freescale Semiconductor, Inc. * * This program is free software; you can redistribute it and/or modify it ...
AirFortressIlikara/LS2K0300-linux-4.19
9,898
arch/powerpc/mm/slb_low.S
/* * Low-level SLB routines * * Copyright (C) 2004 David Gibson <dwg@au.ibm.com>, IBM * * Based on earlier C version: * Dave Engebretsen and Mike Corrigan {engebret|mikejc}@us.ibm.com * Copyright (c) 2001 Dave Engebretsen * Copyright (C) 2002 Anton Blanchard <anton@au.ibm.com>, IBM * * This program is fre...
AirFortressIlikara/LS2K0300-linux-4.19
37,818
arch/powerpc/mm/tlb_low_64e.S
/* * Low level TLB miss handlers for Book3E * * Copyright (C) 2008-2009 * Ben. Herrenschmidt (benh@kernel.crashing.org), IBM Corp. * * 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 Foundat...