repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
a3f/bareDOOM
1,458
arch/arm/lib32/lshrdi3.S
/* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. In...
a3f/bareDOOM
4,853
arch/arm/lib32/findbit.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-FileCopyrightText: 1995-2000 Russell King */ /* * Originally from Linux kernel * arch/arm/lib/findbit.S * * 16th March 2001 - John Ripley <jripley@sonicblue.com> * Fixed so that "size" is an exclusive not an inclusive quantity. * All users of these functio...
a3f/bareDOOM
1,458
arch/arm/lib32/ashldi3.S
/* Copyright 1995, 1996, 1998, 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc. This file is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. In...
a3f/bareDOOM
2,383
arch/arm/lib32/io-readsb.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-FileCopyrightText: 1995-2000 Russell King */ /* * linux/arch/arm/lib/io-readsb.S */ #include <linux/linkage.h> #include <asm/assembler.h> .section .text.readsb .Linsb_align: rsb ip, ip, #4 cmp ip, r2 movgt ip, r2 cmp ip, #2 ldrb r3, [r0] strb r3, [r1],...
a3f/bareDOOM
1,634
arch/arm/lib32/io-writesw-armv4.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-FileCopyrightText: 1995-2000 Russell King */ /* * linux/arch/arm/lib/io-writesw-armv4.S */ #include <linux/linkage.h> #include <asm/assembler.h> .macro outword, rd #ifndef __ARMEB__ strh \rd, [r0] mov \rd, \rd, lsr #16 strh \rd, [r0] #else mov lr, \rd, l...
a3f/bareDOOM
2,299
arch/arm/lib32/memset.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-FileCopyrightText: 1995-2000 Russell King */ /* * linux/arch/arm/lib/memset.S * ASM optimised string functions */ #include <linux/linkage.h> #include <asm/assembler.h> .text .align 5 .weak memset ENTRY(__memset) ENTRY(memset) ands r3, r0, #3 @ 1 unaligned? ...
a3f/bareDOOM
1,149
arch/arm/lib32/io-writesl.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-FileCopyrightText: 1995-2000 Russell King */ /* * linux/arch/arm/lib/io-writesl.S */ #include <linux/linkage.h> #include <asm/assembler.h> .section .text.writesl ENTRY(writesl) teq r2, #0 @ do we have to check for the zero len? moveq pc, lr ands ip, r1, #3...
a3f/bareDOOM
1,405
arch/arm/lib32/io-readsl.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-FileCopyrightText: 1995-2000 Russell King */ /* * linux/arch/arm/lib/io-readsl.S */ #include <linux/linkage.h> #include <asm/assembler.h> .section .text.readsl ENTRY(readsl) teq r2, #0 @ do we have to check for the zero len? moveq pc, lr ands ip, r1, #3 ...
a3f/bareDOOM
7,809
arch/arm/lib32/lib1funcs.S
/* * linux/arch/arm/lib/lib1funcs.S: Optimized ARM division routines * * Author: Nicolas Pitre <nico@fluxnic.net> * - contributed to gcc-3.4 on Sep 30, 2003 * - adapted for the Linux kernel on Oct 2, 2003 */ /* Copyright 1995, 1996, 1998, 1999, 2000, 2003 Free Software Foundation, Inc. This file is free sof...
a3f/bareDOOM
2,256
arch/arm/lib32/io-readsw-armv4.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* SPDX-FileCopyrightText: 1995-2000 Russell King */ /* * linux/arch/arm/lib/io-readsw-armv4.S */ #include <linux/linkage.h> #include <asm/assembler.h> .macro pack, rd, hw1, hw2 #ifndef __ARMEB__ orr \rd, \hw1, \hw2, lsl #16 #else orr \rd, \hw2, \hw1, lsl #16 #endif...
a3f/bareDOOM
12,265
arch/arm/boards/phytec-phycore-pxa270/lowlevel_init.S
// SPDX-License-Identifier: GPL-2.0-or-later /* * This was originally from the Lubbock u-boot port. * * Most of this taken from Redboot hal_platform_setup.h with cleanup * * NOTE: I haven't clean this up considerably, just enough to get it * running. See hal_platform_setup.h for the source. See * board/cradle/l...
a3f/bareDOOM
3,064
arch/arm/boards/freescale-mx27-ads/lowlevel_init.S
/* * For clock initialization, see chapter 3 of the "MCIMX27 Multimedia * Applications Processor Reference Manual, Rev. 0.2". * */ #include <config.h> #include <mach/imx27-regs.h> #include <asm/barebox-arm-head.h> #define writel(val, reg) \ ldr r0, =reg; \ ldr r1, =val; \ str r1, [r0]; #define CRM_PLL_PC...
a3f/bareDOOM
2,959
arch/arm/boards/scb9328/lowlevel_init.S
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-FileCopyrightText: 2004 Sascha Hauer, Synertronixx GmbH #include <mach/imx1-regs.h> #include <asm/barebox-arm-head.h> #define CFG_MPCTL0_VAL 0x00321431 #define CFG_SPCTL0_VAL 0x04002400 #define CFG_CSCR_VAL 0x2f030403 #define CFG_PCDR_VAL 0x000b00b8 #define writel...
a3f/bareDOOM
5,094
arch/arm/boards/freescale-mx35-3ds/lowlevel_init.S
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-FileCopyrightText: 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix #include <mach/imx35-regs.h> #include <mach/imx-pll.h> #include <mach/esdctl.h> #include <asm/cache-l2x0.h> #include <asm-generic/memory_layout.h> #include <asm/barebox-arm-head.h> #include ...
a3f/bareDOOM
1,081
arch/arm/boards/guf-neso/pll_init.S
#include <config.h> #include <mach/imx27-regs.h> #include <mach/imx-pll.h> #include <linux/linkage.h> #define writel(val, reg) \ ldr r0, =reg; \ ldr r1, =val; \ str r1, [r0]; #define CSCR_VAL MX27_CSCR_USB_DIV(3) | \ MX27_CSCR_SD_CNT(3) | \ MX27_CSCR_MSHC_SEL | \ MX27_CSCR_H264_SEL | \ MX27_CSCR_S...
a3f/bareDOOM
4,691
arch/arm/boards/freescale-mx25-3ds/lowlevel_init.S
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-FileCopyrightText: 2007 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix #include <linux/sizes.h> #include <asm-generic/memory_layout.h> #include <mach/imx25-regs.h> #include <mach/imx-pll.h> #include <mach/esdctl.h> #include <asm/barebox-arm-head.h> #define writ...
a3f/bareDOOM
6,780
arch/arm/boards/a9m2440/lowlevel_init.S
/* * */ #include <config.h> #include <linux/sizes.h> #include <mach/s3c-iomap.h> #include <mach/s3c24xx-gpio.h> #include <asm/barebox-arm-head.h> .section ".text_bare_init.barebox_arm_reset_vector","ax" /* * To be able to setup the SDRAM interface correctly, we need some * external information about the connect...
a3f/bareDOOM
3,544
arch/arm/boards/eukrea_cpuimx27/lowlevel_init.S
#include <config.h> #include <asm-generic/memory_layout.h> #include <mach/imx27-regs.h> #include <mach/esdctl.h> #include <asm/barebox-arm-head.h> #define writel(val, reg) \ ldr r0, =reg; \ ldr r1, =val; \ str r1, [r0]; #if defined CONFIG_EUKREA_CPUIMX27_SDRAM_256MB #define ROWS0 ESDCTL0_ROW14 #define CFG0 0x...
a3f/bareDOOM
2,612
arch/arm/boards/freescale-mx21-ads/lowlevel_init.S
// SPDX-License-Identifier: GPL-2.0-or-later // SPDX-FileCopyrightText: 2010 Jaccon Bastiaansen <jaccon.bastiaansen@gmail.com> #include <config.h> #include <linux/sizes.h> #include <asm-generic/memory_layout.h> #include <mach/imx21-regs.h> #include <asm/barebox-arm-head.h> .section ".text_bare_init","ax" .globl bar...
aadomn/aes
39,006
armcortexm/barrel_shiftrows/aes_encrypt.s
/****************************************************************************** * Bitsliced implementations of AES-128 and AES-256 (encryption only) in C using * the barrel-shiftrows representation. * * See the paper at https://eprint.iacr.org/2020/1123.pdf for more details. * * @author Alexandre Adomnicai, Nanyang T...
aadomn/aes
19,475
armcortexm/barrel_shiftrows/aes_keyschedule_lut.s
/****************************************************************************** * Assembly implementations of the AES-128 and AES-256 key schedules to match * the barrel-shiftrows representation. Note that those implementations rely on * Look-Up Tables (LUT). * * See the paper at https://eprint.iacr.org/2020/1123.pdf f...
aadomn/aes
41,958
armcortexm/fixslicing/aes_encrypt.s
/****************************************************************************** * Assembly fixsliced implementation of AES-128 and AES-256 (encryption only). * * Fully-fixsliced implementation runs faster than the semi-fixsliced variant * at the cost of a larger code size. * * See the paper at https://eprint.iacr.org/2...
aadomn/aes
56,744
armcortexm/fixslicing/aes_keyschedule.s
/****************************************************************************** * ARM assembly implemetnations of the AES-128 and AES-256 key schedule to * match fixslicing. * Note that those implementations are fully bitsliced and do not rely on any * Look-Up Table (LUT). * * See the paper at https://eprint.iacr.org/2...
aadomn/aes
29,867
armcortexm/fixslicing/aes_keyschedule_lut.s
/****************************************************************************** * ARM assembly implementations of the AES-128 and AES-256 key schedules to * match fixslicing. * Note that those implementations rely on Look-Up Tables (LUT). * * See the paper at https://eprint.iacr.org/2020/1123.pdf for more details. * * ...
aadomn/aes
75,213
armcortexm/1storder_masking/aes_encrypt.s
/****************************************************************************** * ARM assembly 1st-order masked fixsliced implementation of the AES-128. * * The masking scheme is the one described in "Masking AES with 2 random bits" * available at https://eprint.iacr.org/2018/1007. * See supplementary material at https...
aadomn/aes
104,559
armcortexm/1storder_masking/aes_keyschedule.s
/****************************************************************************** * First-order masked bitsliced implementation of the AES-128 key schedule in * ARM assembly. * * The masking scheme is the one described in "Masking AES with 2 random bits" * available at https://eprint.iacr.org/2018/1007. * All bytes withi...
aadomn/aes
29,671
riscv/barrel_shiftrows/aes_keyschedule_lut.S
/****************************************************************************** * RV32I assembly implementations of the AES-128 and AES-256 key schedules * according to the barrel-shiftrows representation. * * See the paper at https://eprint.iacr.org/2020/1123.pdf for more details. * * @author Alexandre Adomnicai, N...
aadomn/aes
54,401
riscv/barrel_shiftrows/aes_encrypt.S
/****************************************************************************** * Bitsliced AES-128 and AES-256 (encryption-only) implementations in RV32I * assembly, using the base instruction set only (no RISC-V extension needed). * * See the paper at https://eprint.iacr.org/2020/1123.pdf for more details. * * @autho...
aadomn/aes
42,523
riscv/fixslicing/aes_keyschedule_lut.S
/****************************************************************************** * RV32I assembly implementations of the AES-128 and AES-256 key schedules * according to fixslicing. * * Note that this implementation relies on Look-Up Tables (LUT) and therefore * might not run in constant-time on some platforms. See the ...
aadomn/aes
52,117
riscv/fixslicing/aes_encrypt.S
/****************************************************************************** * Fixsliced AES-128 and AES-256 implementations (encryption-only) in RV32I * assembly language, using the base instruction set only. * * See the paper at https://eprint.iacr.org/2020/1123.pdf for more details. * * @author Alexandre Adomni...
aadomn/aes
44,769
riscv/fixslicing/aes_keyschedule.S
/****************************************************************************** * RV32I assembly implementations of the AES-128 and AES-256 key schedule * according to fixslicing. * Note that those implementations are fully bitsliced and do not rely on any * Look-Up Table (LUT). * * See the paper at https://eprint.iacr...
aadomn/cymric
28,705
artifact_tches2025-3/benchmark_avr/cymric_aes/cymric_aes/aes/rijndaelfast.s
; Copyright (C) 2003,2006 B. Poettering ; ; This program is free software; you can redistribute 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. Whenever you redistribute a copy...
aadomn/cymric
31,727
artifact_tches2025-3/benchmark_avr/cymric_lwc/cymric_lwc/photonbeetle/internal-photon256-avr.S
#if defined(__AVR__) /* * Copyright (C) 2021 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ...
aadomn/cymric
15,328
artifact_tches2025-3/benchmark_avr/cymric_lwc/cymric_lwc/giftcofb/gift128.S
; Argument registers for function calls #define ARG1 r24 #define ARG2 r22 #define ARG3 r20 /** * push_registers macro: * * Pushes a given range of registers in ascending order * To be called like: push_registers 0,15 */ .macro push_registers from:req, to:req push \from .if \to-\from push_registers "(\from...
aadomn/cymric
85,418
artifact_tches2025-3/benchmark_avr/cymric_lwc/cymric_lwc/romulusn/internal-skinny-tiny-avr.S
#if defined(__AVR__) /* * Copyright (C) 2021 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ...
aadomn/cymric
11,916
artifact_tches2025-3/benchmark_avr/cymric_lwc/cymric_lwc/xoodyak/internal-xoodoo-avr.S
#if defined(__AVR__) /* * Copyright (C) 2021 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, including without limitation * the ...
aadomn/cymric
20,077
artifact_tches2025-3/benchmark_avr/cymric_lwc/cymric_lwc/asconaead/permutations.S
/////////////////////////////////////////////////////////////////////////////// // ascon_avr.S: AVR Assembler implementation (for GCC) of the permutation. // // Version 1.0.5 (20-Sep-2022), see <http://github.com/ascon/> for updates. // // Author: L. Cardoso and J. Groszschaedl, (DCS, University of Luxembourg). // ...
aadomn/cymric
7,151
artifact_tches2025-3/benchmark_avr/cymric_lwc/cymric_lwc/cymric/lea/lea128.S
; Argument registers for function calls #define ARG1 r24 #define ARG2 r22 #define ARG3 r20 /** * push_registers macro: * * Pushes a given range of registers in ascending order * To be called like: push_registers 0,15 */ .macro push_registers from:req, to:req push \from .if \to-\from push_registers "(\fro...
aadomn/cymric
15,461
artifact_tches2025-3/benchmark_avr/cymric_lwc/cymric_lwc/cymric/gift/gift128.S
; Argument registers for function calls #define ARG1 r24 #define ARG2 r22 #define ARG3 r20 /** * push_registers macro: * * Pushes a given range of registers in ascending order * To be called like: push_registers 0,15 */ .macro push_registers from:req, to:req push \from .if \to-\from push_registers "(\from...
aadomn/cymric
24,997
artifact_tches2025-3/benchmark_armv7m/lwc/photonbeetle/internal-photon256-armv7m.S
#if defined(__ARM_ARCH_ISA_THUMB) && __ARM_ARCH == 7 /* * Copyright (C) 2021 Southern Storm Software, Pty Ltd. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), * to deal in the Software without restriction, incl...
aadomn/cymric
19,884
artifact_tches2025-3/benchmark_armv7m/lwc/giftcofb/giftb128.s
/**************************************************************************** * Compact ARM assembly implementation of the GIFT-128 block cipher. This * implementation focuses on code size rather than speed. * * See "Fixslicing: A New GIFT Representation" paper available at * https://eprint.iacr.org/2020/412.pdf for m...
aadomn/cymric
4,424
artifact_tches2025-3/benchmark_armv7m/lwc/romulusn/skinny128_core.s
/******************************************************************************* * ARMv7-M assembly implementation of fixsliced Skinny-128-384+. * * For more details, see the paper at * https://csrc.nist.gov/CSRC/media/Events/lightweight-cryptography-workshop-2020 * /documents/papers/fixslicing-lwc2020.pdf * * @author...
aadomn/cymric
3,401
artifact_tches2025-3/benchmark_armv7m/lwc/romulusn/skinny128_tks_lfsr.s
/******************************************************************************* * ARMv7-M assembly implementation of fixsliced Skinny-128-384+. * * For more details, see the paper at * https://csrc.nist.gov/CSRC/media/Events/lightweight-cryptography-workshop-2020 * /documents/papers/fixslicing-lwc2020.pdf * * @author...
aadomn/cymric
32,837
artifact_tches2025-3/benchmark_armv7m/lwc/romulusn/skinny128_tks_perm.s
/******************************************************************************* * ARMv7-M assembly implementation of fixsliced Skinny-128-384+. * * For more details, see the paper at * https://csrc.nist.gov/CSRC/media/Events/lightweight-cryptography-workshop-2020 * /documents/papers/fixslicing-lwc2020.pdf * * @author...
aadomn/cymric
22,476
artifact_tches2025-3/benchmark_armv7m/lwc/xoodyak/Xoodoo-uf-armv7m-le-gcc.s
@ @ The eXtended Keccak Code Package (XKCP) @ https://github.com/XKCP/XKCP @ @ The Xoodoo permutation, designed by Joan Daemen, Seth Hoffert, Gilles Van Assche and Ronny Van Keer. @ @ Implementation by Ronny Van Keer, hereby denoted as "the implementer". @ @ For more information, feedback or questions, please refer to ...
aadomn/cymric
2,579
artifact_tches2025-3/benchmark_armv7m/lwc/cymric/lea/lea128.S
/**************************************************************************** * ARMv7M assembly implementation of the LEA-128 block cipher where key * expansion is performed on-the-fly. * @author Alexandre Adomnicai * @date April 2025 ****************************************************************************/ ...
aadomn/cymric
19,756
artifact_tches2025-3/benchmark_armv7m/lwc/cymric/gift/gift128.s
/**************************************************************************** * Compact ARM assembly implementation of the GIFT-128 block cipher. This * implementation focuses on code size rather than speed. * * See "Fixslicing: A New GIFT Representation" paper available at * https://eprint.iacr.org/2020/412.pdf for m...
aadomn/cymric
25,378
artifact_tches2025-3/benchmark_armv7m/aes/aes/aes_encrypt.s
/****************************************************************************** * Assembly fixsliced implementation of AES-128 and AES-256 (encryption only). * * Fully-fixsliced implementation runs faster than the semi-fixsliced variant * at the cost of a larger code size. * * See the paper at https://eprint.iacr.org/2...
aadomn/cymric
11,458
artifact_tches2025-3/benchmark_armv7m/aes/aes/aes_keyschedule_lut.s
/****************************************************************************** * ARM assembly implementations of the AES-128 and AES-256 key schedules to * match fixslicing. * Note that those implementations rely on Look-Up Tables (LUT). * * See the paper at https://eprint.iacr.org/2020/1123.pdf for more details. * * ...
aadomn/cymric
7,425
src/cymric-lea128/avr8/lea128.S
/**************************************************************************** * AVR assembly implementation of the LEA-128 block cipher. * * @author Alexandre Adomnicai * * @date April 2025 ****************************************************************************/ ; Argument registers for function calls #defi...
aadomn/cymric
2,579
src/cymric-lea128/armv7m/lea128.S
/**************************************************************************** * ARMv7M assembly implementation of the LEA-128 block cipher where key * expansion is performed on-the-fly. * @author Alexandre Adomnicai * @date April 2025 ****************************************************************************/ ...
aadomn/cymric
28,705
src/cymric-aes128/avr8/rijndaelfast.s
; Copyright (C) 2003,2006 B. Poettering ; ; This program is free software; you can redistribute 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. Whenever you redistribute a copy...
aadomn/cymric
25,378
src/cymric-aes128/armv7m/aes_encrypt.s
/****************************************************************************** * Assembly fixsliced implementation of AES-128 and AES-256 (encryption only). * * Fully-fixsliced implementation runs faster than the semi-fixsliced variant * at the cost of a larger code size. * * See the paper at https://eprint.iacr.org/2...
aadomn/cymric
11,458
src/cymric-aes128/armv7m/aes_keyschedule_lut.s
/****************************************************************************** * ARM assembly implementations of the AES-128 and AES-256 key schedules to * match fixslicing. * Note that those implementations rely on Look-Up Tables (LUT). * * See the paper at https://eprint.iacr.org/2020/1123.pdf for more details. * * ...
aadomn/cymric
15,730
src/cymric-gift128/avr8/gift128.S
/**************************************************************************** * AVR assembly implementation of fixsliced GIFT-128. * * @author Alexandre Adomnicai * * @date April 2025 ****************************************************************************/ ; Argument registers for function calls #define ARG...
aadomn/cymric
19,756
src/cymric-gift128/armv7m/gift128.s
/**************************************************************************** * Compact ARM assembly implementation of the GIFT-128 block cipher. This * implementation focuses on code size rather than speed. * * See "Fixslicing: A New GIFT Representation" paper available at * https://eprint.iacr.org/2020/412.pdf for m...
a3f/bareDOOM
1,652
arch/kvx/lib/setjmp.S
/* SPDX-License-Identifier: LGPL-2.1 */ /* SPDX-FileCopyrightText: 2021 Jules Maselbas <jmaselbas@kalray.eu>, Kalray Inc. */ #define REG_SIZE 8 #include <linux/linkage.h> /* jmp_buf layout: * [0] = $ra, $sp, $cs, $r14, * [4] = $r20, $r21, $r22, $r23, * [8] = $r24, $r25, $r26, $r27, * [12] = $r28, $r29, $r3...
a3f/bareDOOM
1,586
arch/kvx/cpu/barebox.lds.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2019 Kalray Inc. */ #include <asm/common.h> #include <asm/sys_arch.h> #include <asm-generic/barebox.lds.h> OUTPUT_FORMAT("elf64-kvx") OUTPUT_ARCH("kvx:kv3-1:64") SECTIONS { . = CONFIG_ARCH_TEXT_BASE; .text ALIGN(4) : { *(.startup); _stext = .; ...
a3f/bareDOOM
4,036
arch/kvx/cpu/start.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2019 Kalray Inc. */ #include <linux/linkage.h> #include <asm/privilege.h> #include <asm/sys_arch.h> #define PS_VAL_WFXL(__field, __val) \ SFR_SET_VAL_WFXL(PS, __field, __val) #define PS_WFXL_START_VALUE PS_VAL_WFXL(HLE, 1) | \ PS_VAL_WFXL(USE, 1) ...
a3f/bareDOOM
1,075
arch/x86/lib/setjmp_32.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Written by H. Peter Anvin <hpa@zytor.com> * Brought in from Linux v4.4 and modified for U-Boot * From Linux arch/um/sys-i386/setjmp.S */ #define _REGPARM #include <linux/linkage.h> .text .align 8 /* * The jmp_buf is assumed to contain the following, in order: * %ebx...
a3f/bareDOOM
2,514
arch/x86/mach-efi/crt0-efi-ia32.S
/* crt0-efi-ia32.S - x86 EFI startup code. Copyright (C) 1999 Hewlett-Packard Co. Contributed by David Mosberger <davidm@hpl.hp.com>. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: ...
a3f/bareDOOM
2,362
arch/x86/mach-efi/crt0-efi-x86_64.S
/* crt0-efi-x86_64.S - x86_64 EFI startup code. Copyright (C) 1999 Hewlett-Packard Co. Contributed by David Mosberger <davidm@hpl.hp.com>. Copyright (C) 2005 Intel Co. Contributed by Fenghua Yu <fenghua.yu@intel.com>. All rights reserved. Redistribution and use in source and binary forms, with or with...
a3f/bareDOOM
1,267
arch/x86/mach-efi/elf_ia32_efi.lds.S
#include <asm-generic/barebox.lds.h> OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386") OUTPUT_ARCH(i386) ENTRY(_start) SECTIONS { . = 0; image_base = .; .hash : { *(.hash) } /* this MUST come first! */ . = ALIGN(4096); .text : { _stext = .; _text = .; *(.text) *(.text.*) *(.gnu.linkonce.t.*) } ...
a3f/bareDOOM
1,188
arch/x86/mach-efi/elf_x86_64_efi.lds.S
#include <asm-generic/barebox.lds.h> /* Same as elf_x86_64_fbsd_efi.lds, except for OUTPUT_FORMAT below - KEEP IN SYNC */ OUTPUT_FORMAT("elf64-x86-64", "elf64-x86-64", "elf64-x86-64") OUTPUT_ARCH(i386:x86-64) ENTRY(_start) SECTIONS { . = 0; image_base = .; .hash : { *(.hash) } /* this MUST come first! */ . = ALIG...
a3f/bareDOOM
1,063
arch/mips/lib/barebox.lds.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2011 Antony Pavlov <antonynpavlov@gmail.com> */ #include <asm-generic/barebox.lds.h> OUTPUT_ARCH(mips) ENTRY(_start) SECTIONS { . = TEXT_BASE; . = ALIGN(4); .image_start : { *(.__image_start) } .text : { _stext = .; _text = .; *(.text...
a3f/bareDOOM
6,606
arch/mips/lib/memcpy.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 1998, 99, 2000, 01, 2002 Ralf Baechle (ralf@gnu.org) * Copyright (C) 1999, 2000, 01, 2002 Silicon Graphics, Inc. * Copyright (C) 2002 Broadcom, Inc. * memcpy/copy_user author: Mark Vandevoorde * Copyright (C) 2007 Maciej W. Rozycki * Copyright (C) ...
a3f/bareDOOM
1,030
arch/mips/lib/pbl.lds.S
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * (C) Copyright 2018 Oleksij Rempel <o.rempel@pengutronix.de>, Pengutronix * (C) Copyright 2012 Sascha Hauer <s.hauer@pengutronix.de>, Pengutronix */ #include <asm-generic/barebox.lds.h> #include <asm-generic/memory_layout.h> #include <linux/sizes.h> #define BASE ...
a3f/bareDOOM
3,207
arch/mips/lib/memset.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 1998, 1999, 2000 by Ralf Baechle * Copyright (C) 1999, 2000 Silicon Graphics, Inc. * Copyright (C) 2007 by Maciej W. Rozycki * Copyright (C) 2011, 2012 MIPS Technologies, Inc. * * Kernel-mode memset function without exceptions * by Aleksey Kuleshov (...
a3f/bareDOOM
1,312
arch/mips/boards/netgear-wg102/lowlevel.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2013 Antony Pavlov <antonynpavlov@gmail.com> * Copyright (C) 2013 Oleksij Rempel <linux@rempel-privat.de> */ #define BOARD_PBL_START start_netgear_wg102 #include <asm/pbl_macros.h> #include <mach/pbl_macros.h> #include <mach/ar2312_regs.h> #include <m...
a3f/bareDOOM
1,884
arch/mips/boards/qemu-malta/lowlevel.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * Startup Code for MIPS CPU * * Copyright (C) 2012 Antony Pavlov <antonynpavlov@gmail.com> */ #define BOARD_PBL_START start_qemu_malta #include <asm/asm.h> #include <asm/pbl_macros.h> #include <asm/pbl_nmon.h> #include <linux/sizes.h> #include <asm/addrspace.h> #inc...
a3f/bareDOOM
3,386
arch/powerpc/mach-mpc85xx/barebox.lds.S
/* * Copyright 2013 GE Intelligent Platforms, Inc. * Copyright 2007-2009, 2011 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 Li...
a3f/bareDOOM
1,065
arch/powerpc/lib/reloc.S
/* * Copyright (C) 2009 Wolfgang Denk <wd@denx.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, or (at your option) any later version. * * This pr...
a3f/bareDOOM
1,930
arch/powerpc/lib/setjmp.S
/* SPDX-License-Identifier: GPL-2.0-only */ /* * This is a simple version of setjmp and longjmp for the PowerPC. * Ian Lance Taylor, Cygnus Support, 9 Feb 1994. */ #include <linux/linkage.h> #include <asm/ppc_asm.tmpl> ENTRY(setjmp) addi r3,r3,7 # align to 8 byte boundary rlwinm r3,r3,0,0,28 stw r1,0(r3) # of...
a3f/bareDOOM
1,186
arch/powerpc/lib/misc.S
#include <asm/ppc_asm.tmpl> #include <asm-generic/errno.h> .globl __ashrdi3 __ashrdi3: subfic r6,r5,32 srw r4,r4,r5 # LSW = count > 31 ? 0 : LSW >> count addi r7,r5,32 # could be xori, or addi with -32 slw r6,r3,r6 # t1 = count > 31 ? 0 : MSW << (32-count) rlwinm r8,r7,0,32 # t3 = (count < 32) ? 32 : 0 sraw r7...
a3f/bareDOOM
3,045
arch/powerpc/lib/ppcstring.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...
a3f/bareDOOM
5,942
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....
a3f/bareDOOM
17,007
arch/powerpc/mach-mpc5xxx/start.S
/* * Copyright (C) 1998 Dan Malek <dmalek@jlc.net> * Copyright (C) 1999 Magnus Damm <kieraypc01.p.y.kie.era.ericsson.se> * Copyright (C) 2000 - 2003 Wolfgang Denk <wd@denx.de> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as * p...
a3f/bareDOOM
14,375
arch/powerpc/mach-mpc5xxx/firmware_sc_task_bestcomm.impl.S
/* * Copyright (C) 2001, Software Center, Motorola China. * * This file contains microcode for the FEC controller of the MPC5200 CPU. */ /* sas/sccg, gas target */ .section smartdmaInitData,"aw",@progbits /* Initialized data for task variables */ .section smartdmaTaskTable,"aw",@progbits /* Task tabl...
a3f/bareDOOM
27,513
arch/powerpc/cpu-85xx/start.S
/* * Copyright 2004, 2007-2012 Freescale Semiconductor, Inc. * Copyright (C) 2003 Motorola,Inc. * * SPDX-License-Identifier: GPL-2.0+ */ /* * U-Boot Startup Code for Motorola 85xx PowerPC based Embedded Boards * * The processor starts at 0xfffffffc and the code is first executed in the * last 4K page(0xfffff...
a3f/bareDOOM
1,932
arch/powerpc/cpu-85xx/fixed_ivor.S
/* * Copyright 2009 Freescale Semiconductor, Inc. * * Kumar Gala <kumar.gala@freescale.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; either version 2 of * the License, or (at yo...
a3f/bareDOOM
2,866
arch/powerpc/boards/pcm030/barebox.lds.S
/* * (C) Copyright 2003 * Wolfgang Denk, DENX Software Engineering, wd@denx.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, or (at your option) an...
AAAAyl0n/Lambda0
12,458
1.Hardware/Screen/1.14寸方形屏/03-程序源码/11-1.14IPS显示屏STM32F103硬件SPI+DMA例程/CORE/startup_stm32f10x_md.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_md.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x Medium Density Devices vector table for MDK-...
AAAAyl0n/Lambda0
15,145
1.Hardware/Screen/1.14寸方形屏/03-程序源码/11-1.14IPS显示屏STM32F103硬件SPI+DMA例程/CORE/startup_stm32f10x_hd.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_hd.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x High Density Devices vector table for MDK-AR...
AAAAyl0n/Lambda0
29,171
1.Hardware/Screen/1.14寸方形屏/03-程序源码/05-1.14IPS显示屏STM32F407ZG_SPI例程/CORE/startup_stm32f40_41xxx.s
;******************** (C) COPYRIGHT 2014 STMicroelectronics ******************** ;* File Name : startup_stm32f40_41xxx.s ;* Author : MCD Application Team ;* @version : V1.4.0 ;* @date : 04-August-2014 ;* Description : STM32F40xxx/41xxx devices vector table for MDK-ARM ...
AAAAyl0n/Lambda0
11,003
1.Hardware/Screen/1.14寸方形屏/03-程序源码/08-1.14IPS显示屏STM32L053C8_SPI例程/CORE/startup_stm32l053xx.s
;******************** (C) COPYRIGHT 2016 STMicroelectronics ******************** ;* File Name : startup_stm32l053xx.s ;* Author : MCD Application Team ;* Version : V1.7.1 ;* Date : 25-November-2016 ;* Description : STM32l053xx Devices vector table for MDK-ARM toolcha...
AAAAyl0n/Lambda0
10,390
1.Hardware/Screen/1.14寸方形屏/03-程序源码/06-1.14IPS显示屏STM32F030C8_SPI例程/CORE/startup_stm32f0xx.s
;******************** (C) COPYRIGHT 2012 STMicroelectronics ******************** ;* File Name : startup_stm32f0xx.s ;* Author : MCD Application Team ;* Version : V1.0.0 ;* Date : 23-March-2012 ;* Description : STM32F0xx Devices vector table for MDK-ARM toolchain. ;* ...
AAAAyl0n/Lambda0
12,458
1.Hardware/Screen/1.14寸方形屏/03-程序源码/02-1.14IPS显示屏STM32F103C8T6_SPI例程/CORE/startup_stm32f10x_md.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_md.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x Medium Density Devices vector table for MDK-...
AAAAyl0n/Lambda0
15,145
1.Hardware/Screen/1.14寸方形屏/03-程序源码/02-1.14IPS显示屏STM32F103C8T6_SPI例程/CORE/startup_stm32f10x_hd.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_hd.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x High Density Devices vector table for MDK-AR...
AAAAyl0n/Lambda0
18,823
1.Hardware/Screen/1.14寸方形屏/03-程序源码/10-1.14IPS显示屏STM32F303RC_SPI例程/CORE/startup_stm32f303xc.s
;******************** (C) COPYRIGHT 2016 STMicroelectronics ******************** ;* File Name : startup_stm32f303xc.s ;* Author : MCD Application Team ;* Description : STM32F303xB/xC devices vector table for MDK-ARM toolchain. ;* This module performs: ;* ...
AAAAyl0n/Lambda0
19,939
1.Hardware/Screen/1.14寸方形屏/03-程序源码/09-1.14IPS显示屏STM32L476RG_SPI例程/CORE/startup_stm32l476xx.s
;********************** COPYRIGHT(c) 2017 STMicroelectronics ****************** ;* File Name : startup_stm32l476xx.s ;* Author : MCD Application Team ;* Description : STM32L476xx Ultra Low Power devices vector table for MDK-ARM toolchain. ;* This module performs: ;* ...
AAAAyl0n/Lambda0
12,458
1.Hardware/Screen/1.14寸方形屏/03-程序源码/03-1.14IPS显示屏STM32F103RC_SPI例程/CORE/startup_stm32f10x_md.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_md.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x Medium Density Devices vector table for MDK-...
AAAAyl0n/Lambda0
15,145
1.Hardware/Screen/1.14寸方形屏/03-程序源码/03-1.14IPS显示屏STM32F103RC_SPI例程/CORE/startup_stm32f10x_hd.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_hd.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x High Density Devices vector table for MDK-AR...
AAAAyl0n/Lambda0
13,590
1.Hardware/Screen/1.14寸方形屏/03-程序源码/07-1.14IPS显示屏STM32L151AC8T6_SPI例程/CORE/startup_stm32l151xba.s
;/******************** (C) COPYRIGHT 2017 STMicroelectronics ******************** ;* File Name : startup_stm32l151xba.s ;* Author : MCD Application Team ;* Version : 21-April-2017 ;* Date : V2.2.1 ;* Description : STM32L151XBA Devices vector for MDK-ARM toolchain. ;*...
AAAAyl0n/Lambda0
12,458
1.Hardware/Screen/1.14寸方形屏/03-程序源码/04-1.14IPS显示屏STM32F103ZET6_SPI例程/CORE/startup_stm32f10x_md.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_md.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x Medium Density Devices vector table for MDK-...
AAAAyl0n/Lambda0
15,145
1.Hardware/Screen/1.14寸方形屏/03-程序源码/04-1.14IPS显示屏STM32F103ZET6_SPI例程/CORE/startup_stm32f10x_hd.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_hd.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x High Density Devices vector table for MDK-AR...
AAAAyl0n/Lambda0
12,458
1.Hardware/Screen/1.28英寸GC9A01圆形TFT资料/代码/STM32/STM32F10x/ASM/startup_stm32f10x_md.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_md.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x Medium Density Devices vector table for MDK-...
AAAAyl0n/Lambda0
10,004
1.Hardware/Screen/1.28英寸GC9A01圆形TFT资料/代码/STM32/STM32F10x/ASM/cortexm3_macro.s
;******************** (C) COPYRIGHT 2008 STMicroelectronics ******************** ;* File Name : cortexm3_macro.s ;* Author : MCD Application Team ;* Version : V2.0.3 ;* Date : 09/22/2008 ;* Description : Instruction wrappers for special Cortex-M3 instructions ;* ...
AAAAyl0n/Lambda0
12,079
1.Hardware/Screen/1.28英寸GC9A01圆形TFT资料/代码/STM32/STM32F10x/ASM/startup_stm32f10x_ld.s
;******************** (C) COPYRIGHT 2011 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_ld.s ;* Author : MCD Application Team ;* Version : V3.5.0 ;* Date : 11-March-2011 ;* Description : STM32F10x Low Density Devices vector table for MDK-ARM...
AAAAyl0n/Lambda0
13,753
1.Hardware/Screen/1.28英寸GC9A01圆形TFT资料/代码/STM32/STM32F10x/ASM/startup_stm32f10x_md_vl.s
;******************** (C) COPYRIGHT 2010 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_md_vl.s ;* Author : MCD Application Team ;* Version : V3.3.0 ;* Date : 04/16/2010 ;* Description : STM32F10x Medium Density Value Line Devices vector tab...
AAAAyl0n/Lambda0
15,393
1.Hardware/Screen/1.28英寸GC9A01圆形TFT资料/代码/STM32/STM32F10x/ASM/startup_stm32f10x_cl.s
;******************** (C) COPYRIGHT 2010 STMicroelectronics ******************** ;* File Name : startup_stm32f10x_cl.s ;* Author : MCD Application Team ;* Version : V3.3.0 ;* Date : 04/16/2010 ;* Description : STM32F10x Connectivity line devices vector table for RVMD...