repo_id
stringlengths
5
115
size
int64
590
5.01M
file_path
stringlengths
4
212
content
stringlengths
590
5.01M
airbus-seclab/ramooflax
1,256
setup/src/core/entry.s
/* ** Copyright (C) 2016 Airbus Group, stephane duverger <stephane.duverger@airbus.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 your opti...
airbus-seclab/ramooflax
2,223
vmm/src/svm/svm_insn.s
/* ** Copyright (C) 2016 Airbus Group, stephane duverger <stephane.duverger@airbus.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 your opti...
airbus-seclab/ramooflax
3,646
vmm/src/vmx/vmx_insn.s
/* ** Copyright (C) 2016 Airbus Group, stephane duverger <stephane.duverger@airbus.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 your opti...
airbus-seclab/ramooflax
5,711
vmm/src/core/idt.s
/* ** Copyright (C) 2016 Airbus Group, stephane duverger <stephane.duverger@airbus.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 your opti...
aircrack-ng/aircrack-ng-archive
20,498
src/sha1-sse2.S
// SHA-1 SSE2 implementation, (C) 2008 Alvaro Salmador (naplam33@msn.com), ported from Simon Marechal's SHA-1 MMX - License: GPLv2 // SHA-1 MMX implementation, (C) 2005 Simon Marechal (simon@banquise.net) - License: Public Domain // This code computes two (with sse now four) SHA-1 digests at the same time. It // does...
Air-duino/Arduino-AirMCU
88,395
variants/AIR401/AIR401_DEV/qfplib-m0-full.S
@ Copyright 2019-2020 Mark Owen @ http://www.quinapalus.com @ E-mail: qfp@quinapalus.com @ @ This file is free software: you can redistribute it and/or modify @ it under the terms of version 2 of the GNU General Public License @ as published by the Free Software Foundation. @ @ This file is distributed in the hope that...
Air-duino/Arduino-AirMCU
88,395
variants/AIR001/AirM2M_Air001_Board/qfplib-m0-full.S
@ Copyright 2019-2020 Mark Owen @ http://www.quinapalus.com @ E-mail: qfp@quinapalus.com @ @ This file is free software: you can redistribute it and/or modify @ it under the terms of version 2 of the GNU General Public License @ as published by the Free Software Foundation. @ @ This file is distributed in the hope that...
Air-duino/Arduino-AirMCU
88,395
variants/AIR001/AIR001_DEV/qfplib-m0-full.S
@ Copyright 2019-2020 Mark Owen @ http://www.quinapalus.com @ E-mail: qfp@quinapalus.com @ @ This file is free software: you can redistribute it and/or modify @ it under the terms of version 2 of the GNU General Public License @ as published by the Free Software Foundation. @ @ This file is distributed in the hope that...
AirFortressIlikara/LS2K0300-linux-4.19
1,314
usr/initramfs_data.S
/* SPDX-License-Identifier: GPL-2.0 */ /* initramfs_data includes the compressed binary that is the filesystem used for early user space. Note: Older versions of "as" (prior to binutils 2.11.90.0.23 released on 2001-07-14) dit not support .incbin. If you are forced to use older binutils than that then the f...
AirFortressIlikara/LS2K0300-linux-4.19
1,309
Documentation/EDID/1680x1050.S
/* 1680x1050.S: EDID data set for standard 1680x1050 60 Hz monitor Copyright (C) 2012 Carsten Emde <C.Emde@osadl.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 version 2 ...
AirFortressIlikara/LS2K0300-linux-4.19
1,155
Documentation/EDID/800x600.S
/* 800x600.S: EDID data set for standard 800x600 60 Hz monitor Copyright (C) 2011 Carsten Emde <C.Emde@osadl.org> Copyright (C) 2014 Linaro Limited 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 Softw...
AirFortressIlikara/LS2K0300-linux-4.19
1,305
Documentation/EDID/1600x1200.S
/* 1600x1200.S: EDID data set for standard 1600x1200 60 Hz monitor Copyright (C) 2013 Carsten Emde <C.Emde@osadl.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 version 2 ...
AirFortressIlikara/LS2K0300-linux-4.19
1,305
Documentation/EDID/1280x1024.S
/* 1280x1024.S: EDID data set for standard 1280x1024 60 Hz monitor Copyright (C) 2011 Carsten Emde <C.Emde@osadl.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 version 2 ...
AirFortressIlikara/LS2K0300-linux-4.19
9,709
Documentation/EDID/edid.S
/* edid.S: EDID data template Copyright (C) 2012 Carsten Emde <C.Emde@osadl.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 version 2 of the License, or (at your option...
AirFortressIlikara/LS2K0300-linux-4.19
1,334
Documentation/EDID/1024x768.S
/* 1024x768.S: EDID data set for standard 1024x768 60 Hz monitor Copyright (C) 2011 Carsten Emde <C.Emde@osadl.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 version 2 ...
AirFortressIlikara/LS2K0300-linux-4.19
1,304
Documentation/EDID/1920x1080.S
/* 1920x1080.S: EDID data set for standard 1920x1080 60 Hz monitor Copyright (C) 2012 Carsten Emde <C.Emde@osadl.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 version 2 ...
AirFortressIlikara/LS2K0300-linux-4.19
10,154
drivers/memory/ti-emif-sram-pm.S
/* * Low level PM code for TI EMIF * * Copyright (C) 2016-2017 Texas Instruments Incorporated - http://www.ti.com/ * Dave Gerlach * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
4,692
drivers/block/swim_asm.S
/* * low-level functions for the SWIM floppy controller * * needs assembly language because is very timing dependent * this controller exists only on macintosh 680x0 based * * Copyright (C) 2004,2008 Laurent Vivier <Laurent@lvivier.info> * * based on Alastair Bridgewater SWIM analysis, 2001 * based on netBSD I...
AirFortressIlikara/LS2K0300-linux-4.19
1,814
drivers/crypto/n2_asm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* n2_asm.S: Hypervisor calls for NCS support. * * Copyright (C) 2009 David S. Miller <davem@davemloft.net> */ #include <linux/linkage.h> #include <asm/hypervisor.h> #include "n2_core.h" /* o0: queue type * o1: RA of queue * o2: num entries in queue * o3: address of qu...
AirFortressIlikara/LS2K0300-linux-4.19
2,882
drivers/spi/spi-s3c24xx-fiq.S
/* linux/drivers/spi/spi_s3c24xx_fiq.S * * Copyright 2009 Simtec Electronics * Ben Dooks <ben@simtec.co.uk> * * S3C24XX SPI - FIQ pseudo-DMA transfer code * * 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 ...
AirFortressIlikara/LS2K0300-linux-4.19
2,042
drivers/watchdog/octeon-wdt-nmi.S
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (C) 2007-2017 Cavium, Inc. */ #include <asm/asm.h> #include <asm/regdef.h> #define CVMSEG_BASE -32768 #define CVMSEG_SIZE 6912...
AirFortressIlikara/LS2K0300-linux-4.19
1,538
drivers/char/hw_random/n2-asm.S
/* SPDX-License-Identifier: GPL-2.0 */ /* n2-asm.S: Niagara2 RNG hypervisor call assembler. * * Copyright (C) 2008 David S. Miller <davem@davemloft.net> */ #include <linux/linkage.h> #include <asm/hypervisor.h> #include "n2rng.h" .text ENTRY(sun4v_rng_get_diag_ctl) mov HV_FAST_RNG_GET_DIAG_CTL, %o5 ta HV_FAST_T...
airspy/airspyone_firmware
3,652
libopencm3/lib/linker.ld.S
/* * This file is part of the libopencm3 project. * * Copyright (C) 2009 Uwe Hermann <uwe@hermann-uwe.de> * Copyright (C) 2013 Frantisek Burian <BuFran@seznam.cz> * * This library is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as published by...
AirFortressIlikara/LS2K0300-linux-4.19
1,327
drivers/misc/sgi-xp/xp_nofault.S
/* * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * * Copyright (c) 2004-2008 Silicon Graphics, Inc. All Rights Reserved. */ /* * The xp_nofault_PIOR function takes a pointer to a remote P...
AirFortressIlikara/LS2K0300-linux-4.19
2,546
drivers/soc/bcm/brcmstb/pm/s3-mips.S
/* * Copyright (C) 2016 Broadcom Corporation * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
1,699
drivers/soc/bcm/brcmstb/pm/s2-arm.S
/* * Copyright © 2014-2017 Broadcom * * 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 WARR...
AirFortressIlikara/LS2K0300-linux-4.19
3,341
drivers/soc/bcm/brcmstb/pm/s2-mips.S
/* * Copyright (C) 2016 Broadcom Corporation * * 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...
AirFortressIlikara/LS2K0300-linux-4.19
23,715
drivers/net/wan/wanxlfw.S
.psize 0 /* wanXL serial card driver for Linux card firmware part Copyright (C) 2003 Krzysztof Halasa <khc@pm.waw.pl> This program is free software; you can redistribute it and/or modify it under the terms of version 2 of the GNU General Public License as published by the Free Software Foundation. DP...
airtrack/airix
5,628
kernel/kernel.s
[bits 32] extern init_paging extern kernel_entry extern pic_interrupt extern exception_handles extern syscall global _start global set_gdtr global set_idtr global set_cr3 global set_tss global in_byte global in_dword global insw global out_byte global out_dword global close_int global start_int global halt global swit...
airtrack/airix
1,226
lib/memory.s
[bits 32] global memcpy global memset global memcmp ; void * memcpy(void *dst, const void *src, size_t n); memcpy: push ebp mov ebp, esp push edi push esi mov edi, dword [ebp + 8] mov esi, dword [ebp + 12] mov ecx, dword [ebp + 16] cld rep movsb mov...
airtrack/airix
4,880
bootloader/bootloader.s
%define SMAP 0x534D4150 %define BOOT_ADDRESS 0x7C00 %define BOOT_INFO_ADDRESS 0x7E00 %define NUM_MMAP_ADDRESS 0x7E04 %define KERNEL_BASE 0xC0000000 [bits 16] org BOOT_ADDRESS mov ax, cs mov ds, ax mov es, ax mov ss, ax mov esp, BOOT_ADDRESS call get_memory_map ...
AirFortressIlikara/LS2K0300-linux-4.19
3,320
drivers/scsi/arm/acornscsi-io.S
/* * linux/drivers/acorn/scsi/acornscsi-io.S: Acorn SCSI card IO * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/linkage.h> #include <asm/assembler.h> #inc...
AirFortressIlikara/LS2K0300-linux-4.19
1,542
tools/perf/arch/arm/tests/regs_load.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #define R0 0x00 #define R1 0x08 #define R2 0x10 #define R3 0x18 #define R4 0x20 #define R5 0x28 #define R6 0x30 #define R7 0x38 #define R8 0x40 #define R9 0x48 #define SL 0x50 #define FP 0x58 #define IP 0x60 #define SP 0x68 #define LR 0x70 #define PC 0x...
AirFortressIlikara/LS2K0300-linux-4.19
1,909
tools/perf/arch/x86/tests/regs_load.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #define AX 0 #define BX 1 * 8 #define CX 2 * 8 #define DX 3 * 8 #define SI 4 * 8 #define DI 5 * 8 #define BP 6 * 8 #define SP 7 * 8 #define IP 8 * 8 #define FLAGS 9 * 8 #define CS 10 * 8 #define SS 11 * 8 #define DS 12 * 8 #define ES 13 * 8 #d...
AirFortressIlikara/LS2K0300-linux-4.19
1,560
tools/perf/arch/powerpc/tests/regs_load.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> /* Offset is based on macros from arch/powerpc/include/uapi/asm/ptrace.h. */ #define R0 0 #define R1 1 * 8 #define R2 2 * 8 #define R3 3 * 8 #define R4 4 * 8 #define R5 5 * 8 #define R6 6 * 8 #define R7 7 * 8 #define R8 8 * 8 #define R9 9 * 8 ...
AirFortressIlikara/LS2K0300-linux-4.19
1,250
tools/testing/selftests/x86/thunks_32.S
/* * thunks_32.S - assembly helpers for mixed-bitness code * Copyright (c) 2015 Denys Vlasenko * * This program is free software; you can redistribute it and/or modify * it under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This progr...
AirFortressIlikara/LS2K0300-linux-4.19
1,284
tools/testing/selftests/x86/thunks.S
/* * thunks.S - assembly helpers for mixed-bitness code * Copyright (c) 2015 Andrew Lutomirski * * This program is free software; you can redistribute it and/or modify * it under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This progr...
AirFortressIlikara/LS2K0300-linux-4.19
10,880
tools/testing/selftests/powerpc/copyloops/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
tools/testing/selftests/powerpc/copyloops/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
12,816
tools/testing/selftests/powerpc/copyloops/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
11,358
tools/testing/selftests/powerpc/copyloops/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
2,691
tools/testing/selftests/powerpc/stringloops/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
11,899
tools/testing/selftests/powerpc/stringloops/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
7,216
tools/testing/selftests/powerpc/lib/reg.S
/* * test helper assembly functions * * Copyright (C) 2016 Simon Guo, 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 op...
AirFortressIlikara/LS2K0300-linux-4.19
1,180
tools/testing/selftests/powerpc/signal/signal.S
/* * Copyright 2015, Cyril Bur, 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 "basic_a...
AirFortressIlikara/LS2K0300-linux-4.19
1,375
tools/testing/selftests/powerpc/switch_endian/switch_endian_test.S
/* SPDX-License-Identifier: GPL-2.0 */ #include "common.h" .data .balign 8 message: .ascii "success: switch_endian_test\n\0" .section ".toc" .balign 8 pattern: .8byte 0x5555AAAA5555AAAA .text FUNC_START(_start) /* Load the pattern */ ld r15, pattern@TOC(%r2) /* Setup CR, only CR2-CR4 are maintained */ li...
AirFortressIlikara/LS2K0300-linux-4.19
1,977
tools/testing/selftests/powerpc/switch_endian/check.S
/* SPDX-License-Identifier: GPL-2.0 */ #include "common.h" /* * Checks that registers contain what we expect, ie. they were not clobbered by * the syscall. * * r15: pattern to check registers against. * * At the end r3 == 0 if everything's OK. */ nop # guaranteed to be illegal in reverse-endian mr r9,r15 c...
AirFortressIlikara/LS2K0300-linux-4.19
3,025
tools/testing/selftests/powerpc/tm/tm-signal.S
/* * Copyright 2015, Cyril Bur, 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 "basic_a...
AirFortressIlikara/LS2K0300-linux-4.19
1,566
tools/testing/selftests/powerpc/math/vsx_asm.S
/* * Copyright 2015, Cyril Bur, 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 "basic_a...
AirFortressIlikara/LS2K0300-linux-4.19
2,591
tools/testing/selftests/powerpc/math/fpu_asm.S
/* * Copyright 2015, Cyril Bur, 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 "basic_a...
AirFortressIlikara/LS2K0300-linux-4.19
2,962
tools/testing/selftests/powerpc/math/vmx_asm.S
/* * Copyright 2015, Cyril Bur, 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 "basic_a...
AirFortressIlikara/LS2K0300-linux-4.19
4,262
tools/testing/selftests/powerpc/pmu/ebb/busy_loop.S
/* * Copyright 2014, Michael Ellerman, IBM Corp. * Licensed under GPLv2. */ #include <ppc-asm.h> .text FUNC_START(core_busy_loop) stdu %r1, -168(%r1) std r14, 160(%r1) std r15, 152(%r1) std r16, 144(%r1) std r17, 136(%r1) std r18, 128(%r1) std r19, 120(%r1) std r20, 112(%r1) std r21, 104(%r1) std r22, ...
AirFortressIlikara/LS2K0300-linux-4.19
7,476
tools/testing/selftests/powerpc/pmu/ebb/ebb_handler.S
/* * Copyright 2014, Michael Ellerman, IBM Corp. * Licensed under GPLv2. */ #include <ppc-asm.h> #include "reg.h" /* ppc-asm.h defines most of the reg aliases, but not r1/r2. */ #define r1 1 #define r2 2 #define RFEBB .long 0x4c000924 /* Stack layout: * * ^ * User stack | * Back ...
AirFortressIlikara/LS2K0300-linux-4.19
6,007
tools/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
2,702
tools/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> .weak memset /* * ISO C memset - set a memory block to a byte value. This function uses fast * string to get better performance than the origina...
AirFortressIlikara/LS2K0300-linux-4.19
4,109
arch/nios2/kernel/head.S
/* * Copyright (C) 2009 Wind River Systems Inc * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com * Copyright (C) 2004 Microtronix Datacom Ltd * Copyright (C) 2001 Vic Phillips, Microtronix Datacom Ltd. * * Based on head.S for Altera's Excalibur development board with nios processor * * ...
AirFortressIlikara/LS2K0300-linux-4.19
14,821
arch/nios2/kernel/entry.S
/* * linux/arch/nios2/kernel/entry.S * * Copyright (C) 2013-2014 Altera Corporation * Copyright (C) 2009, Wind River Systems Inc * * Implemented by fredrik.markstrom@gmail.com and ivarholmqvist@gmail.com * * Copyright (C) 1999-2002, Greg Ungerer (gerg@snapgear.com) * Copyright (C) 1998 D. Jeff Dionne <jeff...
AirFortressIlikara/LS2K0300-linux-4.19
15,355
arch/nios2/kernel/insnemu.S
/* * Copyright (C) 2003-2013 Altera Corporation * 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 as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later...
AirFortressIlikara/LS2K0300-linux-4.19
1,680
arch/nios2/kernel/vmlinux.lds.S
/* * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw> * * 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,803
arch/nios2/boot/compressed/head.S
/* * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw> * * Based on arch/nios2/kernel/head.S * * This file is subject to the terms and conditions of the GNU General Public * License. See the file "COPYING" in the main directory of this archive * for more details. * */ /* * This code can be loaded anywhe...
AirFortressIlikara/LS2K0300-linux-4.19
1,408
arch/nios2/boot/compressed/vmlinux.lds.S
/* * Copyright (C) 2009 Thomas Chou <thomas@wytron.com.tw> * * 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
7,624
arch/m68k/coldfire/head.S
/* SPDX-License-Identifier: GPL-2.0 */ /*****************************************************************************/ /* * head.S -- common startup code for ColdFire CPUs. * * (C) Copyright 1999-2011, Greg Ungerer <gerg@snapgear.com>. */ /**************************************************************************...
AirFortressIlikara/LS2K0300-linux-4.19
5,352
arch/m68k/coldfire/entry.S
/* * entry.S -- interrupt and exception processing for ColdFire * * Copyright (C) 1999-2007, Greg Ungerer (gerg@snapgear.com) * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>, * Kenneth Albanowski <kjahds@kjahds.com>, * Copyright (C) 2000 Lineo Inc. (www.lineo.com) * Copyright (C)...
AirFortressIlikara/LS2K0300-linux-4.19
89,771
arch/m68k/kernel/head.S
/* -*- mode: asm -*- ** ** head.S -- This file contains the initial boot code for the ** Linux/68k kernel. ** ** Copyright 1993 by Hamish Macdonald ** ** 68040 fixes by Michael Rausch ** 68060 fixes by Roman Hodek ** MMU cleanup by Randy Thelen ** Final MMU cleanup by Roman Zippel ** ** Atari support by Andreas Sc...
AirFortressIlikara/LS2K0300-linux-4.19
2,085
arch/m68k/kernel/sun3-head.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <linux/init.h> #include <asm/entry.h> #include <asm/page.h> #include <asm/contregs.h> #include <asm/sun3-head.h> PSL_HIGHIPL = 0x2700 NBSG = 0x20000 ICACHE_ONLY = 0x00000009 CACHES_OFF = 0x00000008 | actually a clear and disable...
AirFortressIlikara/LS2K0300-linux-4.19
9,447
arch/m68k/kernel/entry.S
/* -*- mode: asm -*- * * linux/arch/m68k/kernel/entry.S * * Copyright (C) 1991, 1992 Linus Torvalds * * This file is subject to the terms and conditions of the GNU General Public * License. See the file README.legal in the main directory of this archive * for more details. * * Linux/m68k support by Hamish...
AirFortressIlikara/LS2K0300-linux-4.19
9,999
arch/m68k/kernel/syscalltable.S
/* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2002, Greg Ungerer (gerg@snapgear.com) * * Based on older entry.S files, the following copyrights apply: * * Copyright (C) 1998 D. Jeff Dionne <jeff@lineo.ca>, * Kenneth Albanowski <kjahds@kjahds.com>, * Copyright (C) 2000 Lineo...
AirFortressIlikara/LS2K0300-linux-4.19
2,877
arch/m68k/kernel/relocate_kernel.S
/* SPDX-License-Identifier: GPL-2.0 */ #include <linux/linkage.h> #include <asm/asm-offsets.h> #include <asm/page.h> #include <asm/setup.h> #define MMU_BASE 8 /* MMU flags base in cpu_mmu_flags */ .text ENTRY(relocate_new_kernel) movel %sp@(4),%a0 /* a0 = ptr */ movel %sp@(8),%a1 /* a1 = start */ movel %sp@(...
AirFortressIlikara/LS2K0300-linux-4.19
28,388
arch/m68k/fpsp040/setox.S
| | setox.sa 3.1 12/10/90 | | The entry point setox computes the exponential of a value. | setoxd does the same except the input value is a denormalized | number. setoxm1 computes exp(X)-1, and setoxm1d computes | exp(X)-1 for denormalized X. | | INPUT | ----- | Double-extended value in memory location pointed to by ad...
AirFortressIlikara/LS2K0300-linux-4.19
12,262
arch/m68k/fpsp040/stwotox.S
| | stwotox.sa 3.1 12/10/90 | | stwotox --- 2**X | stwotoxd --- 2**X for denormalized X | stentox --- 10**X | stentoxd --- 10**X for denormalized X | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The function values are returned in Fp0. | | Accuracy and Monotonicity: ...
AirFortressIlikara/LS2K0300-linux-4.19
19,468
arch/m68k/fpsp040/slogn.S
| | slogn.sa 3.1 12/10/90 | | slogn computes the natural logarithm of an | input value. slognd does the same except the input value is a | denormalized number. slognp1 computes log(1+X), and slognp1d | computes log(1+X) for denormalized X. | | Input: Double-extended value in memory location pointed to by address | reg...
AirFortressIlikara/LS2K0300-linux-4.19
13,349
arch/m68k/fpsp040/stan.S
| | stan.sa 3.3 7/29/91 | | The entry point stan computes the tangent of | an input argument; | stand does the same except for denormalized input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value tan(X) returned in floating-point register Fp0. | | Accuracy and ...
AirFortressIlikara/LS2K0300-linux-4.19
15,728
arch/m68k/fpsp040/decbin.S
| | decbin.sa 3.3 12/19/90 | | Description: Converts normalized packed bcd value pointed to by | register A6 to extended-precision value in FP0. | | Input: Normalized packed bcd value in ETEMP(a6). | | Output: Exact floating-point representation of the packed bcd value. | | Saves and Modifies: D2-D5 | | Speed: The prog...
AirFortressIlikara/LS2K0300-linux-4.19
1,974
arch/m68k/fpsp040/sto_res.S
| | sto_res.sa 3.1 12/10/90 | | Takes the result and puts it in where the user expects it. | Library functions return result in fp0. If fp0 is not the | users destination register then fp0 is moved to the | correct floating-point destination register. fp0 and fp1 | are then restored to the original contents. | | Input...
AirFortressIlikara/LS2K0300-linux-4.19
13,176
arch/m68k/fpsp040/gen_except.S
| | gen_except.sa 3.7 1/16/92 | | gen_except --- FPSP routine to detect reportable exceptions | | This routine compares the exception enable byte of the | user_fpcr on the stack with the exception status byte | of the user_fpsr. | | Any routine which may report an exceptions must load | the stack frame in memory with t...
AirFortressIlikara/LS2K0300-linux-4.19
2,014
arch/m68k/fpsp040/x_unimp.S
| | x_unimp.sa 3.3 7/1/91 | | fpsp_unimp --- FPSP handler for unimplemented instruction | exception. | | Invoked when the user program encounters a floating-point | op-code that hardware does not support. Trap vector# 11 | (See table 8-1 MC68030 User's Manual). | | | Note: An fsave for an unimplemented inst. will crea...
AirFortressIlikara/LS2K0300-linux-4.19
4,302
arch/m68k/fpsp040/binstr.S
| | binstr.sa 3.3 12/19/90 | | | Description: Converts a 64-bit binary integer to bcd. | | Input: 64-bit binary integer in d2:d3, desired length (LEN) in | d0, and a pointer to start in memory for bcd characters | in d0. (This pointer must point to byte 4 of the first | lword of the packed d...
AirFortressIlikara/LS2K0300-linux-4.19
16,764
arch/m68k/fpsp040/round.S
| | round.sa 3.4 7/29/91 | | handle rounding and normalization tasks | | | | Copyright (C) Motorola, Inc. 1990 | All Rights Reserved | | For details on the license for this file, please see the | file, README, in this same directory. |ROUND idnt 2,1 | Motorola 040 Floating Point Software Package |s...
AirFortressIlikara/LS2K0300-linux-4.19
13,813
arch/m68k/fpsp040/do_func.S
| | do_func.sa 3.4 2/18/91 | | Do_func performs the unimplemented operation. The operation | to be performed is determined from the lower 7 bits of the | extension word (except in the case of fmovecr and fsincos). | The opcode and tag bits form an index into a jump table in | tbldo.sa. Cases of zero, infinity and NaN...
AirFortressIlikara/LS2K0300-linux-4.19
6,621
arch/m68k/fpsp040/x_snan.S
| | x_snan.sa 3.3 7/1/91 | | fpsp_snan --- FPSP handler for signalling NAN exception | | SNAN for float -> integer conversions (integer conversion of | an SNAN) is a non-maskable run-time exception. | | For trap disabled the 040 does the following: | If the dest data format is s, d, or x, then the SNAN bit in the NAN |...
AirFortressIlikara/LS2K0300-linux-4.19
13,311
arch/m68k/fpsp040/kernel_ex.S
| | kernel_ex.sa 3.3 12/19/90 | | This file contains routines to force exception status in the | fpu for exceptional cases detected or reported within the | transcendental functions. Typically, the t_xx routine will | set the appropriate bits in the USER_FPSR word on the stack. | The bits are tested in gen_except.sa t...
AirFortressIlikara/LS2K0300-linux-4.19
8,926
arch/m68k/fpsp040/scale.S
| | scale.sa 3.3 7/30/91 | | The entry point sSCALE computes the destination operand | scaled by the source operand. If the absolute value of | the source operand is (>= 2^14) an overflow or underflow | is returned. | | The entry point sscale is called from do_func to emulate | the fscale unimplemented instruction. | ...
AirFortressIlikara/LS2K0300-linux-4.19
9,807
arch/m68k/fpsp040/x_operr.S
| | x_operr.sa 3.5 7/1/91 | | fpsp_operr --- FPSP handler for operand error exception | | See 68040 User's Manual pp. 9-44f | | Note 1: For trap disabled 040 does the following: | If the dest is a fp reg, then an extended precision non_signaling | NAN is stored in the dest reg. If the dest format is b, w, or l and | t...
AirFortressIlikara/LS2K0300-linux-4.19
2,348
arch/m68k/fpsp040/sasin.S
| | sasin.sa 3.3 12/19/90 | | Description: The entry point sAsin computes the inverse sine of | an input argument; sAsind does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value arcsin(X) returned in floating-point regi...
AirFortressIlikara/LS2K0300-linux-4.19
19,058
arch/m68k/fpsp040/ssin.S
| | ssin.sa 3.3 7/29/91 | | The entry point sSIN computes the sine of an input argument | sCOS computes the cosine, and sSINCOS computes both. The | corresponding entry points with a "d" computes the same | corresponding function values for denormalized inputs. | | Input: Double-extended number X in location pointed to...
AirFortressIlikara/LS2K0300-linux-4.19
4,743
arch/m68k/fpsp040/x_ovfl.S
| | x_ovfl.sa 3.5 7/1/91 | | fpsp_ovfl --- FPSP handler for overflow exception | | Overflow occurs when a floating-point intermediate result is | too large to be represented in a floating-point data register, | or when storing to memory, the contents of a floating-point | data register are too large to be represented i...
AirFortressIlikara/LS2K0300-linux-4.19
28,114
arch/m68k/fpsp040/bindec.S
| | bindec.sa 3.4 1/3/91 | | bindec | | Description: | Converts an input in extended precision format | to bcd format. | | Input: | a0 points to the input extended precision value | value in memory; d0 contains the k-factor sign-extended | to 32-bits. The input may be either normalized, | unnormalized, or denorm...
AirFortressIlikara/LS2K0300-linux-4.19
2,932
arch/m68k/fpsp040/x_fline.S
| | x_fline.sa 3.3 1/10/91 | | fpsp_fline --- FPSP handler for fline exception | | First determine if the exception is one of the unimplemented | floating point instructions. If so, let fpsp_unimp handle it. | Next, determine if the instruction is an fmovecr with a non-zero | <ea> field. If so, handle here and return...
AirFortressIlikara/LS2K0300-linux-4.19
14,062
arch/m68k/fpsp040/bugfix.S
| | bugfix.sa 3.2 1/31/91 | | | This file contains workarounds for bugs in the 040 | relating to the Floating-Point Software Package (FPSP) | | Fixes for bugs: 1238 | | Bug: 1238 | | | /* The following dirty_bit clear should be left in | * the handler permanently to improve throughput. | * The dirty_bits are...
AirFortressIlikara/LS2K0300-linux-4.19
15,961
arch/m68k/fpsp040/satan.S
| | satan.sa 3.3 12/19/90 | | The entry point satan computes the arctangent of an | input value. satand does the same except the input value is a | denormalized number. | | Input: Double-extended value in memory location pointed to by address | register a0. | | Output: Arctan(X) returned in floating-point register Fp0...
AirFortressIlikara/LS2K0300-linux-4.19
5,198
arch/m68k/fpsp040/slog2.S
| | slog2.sa 3.1 12/10/90 | | The entry point slog10 computes the base-10 | logarithm of an input argument X. | slog10d does the same except the input value is a | denormalized number. | sLog2 and sLog2d are the base-2 analogues. | | INPUT: Double-extended value in memory location pointed to | by address r...
AirFortressIlikara/LS2K0300-linux-4.19
4,288
arch/m68k/fpsp040/smovecr.S
| | smovecr.sa 3.1 12/10/90 | | The entry point sMOVECR returns the constant at the | offset given in the instruction field. | | Input: An offset in the instruction word. | | Output: The constant rounded to the user's rounding | mode unchecked for overflow. | | Modified: fp0. | | | Copyright (C) Motorola, Inc. 1990 |...
AirFortressIlikara/LS2K0300-linux-4.19
17,089
arch/m68k/fpsp040/util.S
| | util.sa 3.7 7/29/91 | | This file contains routines used by other programs. | | ovf_res: used by overflow to force the correct | result. ovf_r_k, ovf_r_x2, ovf_r_x3 are | derivatives of this routine. | get_fline: get user's opcode word | g_dfmtou: returns the destination format. | g_opcls: returns the opclass o...
AirFortressIlikara/LS2K0300-linux-4.19
3,666
arch/m68k/fpsp040/sgetem.S
| | sgetem.sa 3.1 12/10/90 | | The entry point sGETEXP returns the exponent portion | of the input argument. The exponent bias is removed | and the exponent value is returned as an extended | precision number in fp0. sGETEXPD handles denormalized | numbers. | | The entry point sGETMAN extracts the mantissa of the | i...
AirFortressIlikara/LS2K0300-linux-4.19
19,240
arch/m68k/fpsp040/tbldo.S
| | tbldo.sa 3.1 12/10/90 | | Modified: | 8/16/90 chinds The table was constructed to use only one level | of indirection in do_func for monadic | functions. Dyadic functions require two | levels, and the tables are still contained | in do_func. The table is arranged for | index with a 10-bit index, with th...
AirFortressIlikara/LS2K0300-linux-4.19
2,995
arch/m68k/fpsp040/scosh.S
| | scosh.sa 3.1 12/10/90 | | The entry point sCosh computes the hyperbolic cosine of | an input argument; sCoshd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value cosh(X) returned in floating-point register Fp0. | ...
AirFortressIlikara/LS2K0300-linux-4.19
4,074
arch/m68k/fpsp040/stanh.S
| | stanh.sa 3.1 12/10/90 | | The entry point sTanh computes the hyperbolic tangent of | an input argument; sTanhd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value tanh(X) returned in floating-point register Fp0. |...
AirFortressIlikara/LS2K0300-linux-4.19
2,235
arch/m68k/fpsp040/satanh.S
| | satanh.sa 3.3 12/19/90 | | The entry point satanh computes the inverse | hyperbolic tangent of | an input argument; satanhd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value arctanh(X) returned in floating-point...
AirFortressIlikara/LS2K0300-linux-4.19
2,827
arch/m68k/fpsp040/sacos.S
| | sacos.sa 3.3 12/19/90 | | Description: The entry point sAcos computes the inverse cosine of | an input argument; sAcosd does the same except for denormalized | input. | | Input: Double-extended number X in location pointed to | by address register a0. | | Output: The value arccos(X) returned in floating-point re...
AirFortressIlikara/LS2K0300-linux-4.19
6,983
arch/m68k/fpsp040/x_store.S
| | x_store.sa 3.2 1/24/91 | | store --- store operand to memory or register | | Used by underflow and overflow handlers. | | a6 = points to fp value to be stored. | | Copyright (C) Motorola, Inc. 1990 | All Rights Reserved | | For details on the license for this file, please see the | file, README, in ...