repo_id string | size int64 | file_path string | content string |
|---|---|---|---|
wbx-github/uclibc-ng | 1,025 | libpthread/nptl/sysdeps/sh/pthread_spin_trylock.S | /* Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 the Free Software Foundation; either
version 2.1 of the Licen... |
wbx-github/uclibc-ng | 1,275 | libpthread/nptl/sysdeps/xtensa/pthread_spin_trylock.S | /* Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 the Free Software Foundation; either
version 2.1 of the Licen... |
wbx-github/uclibc-ng | 1,213 | libpthread/nptl/sysdeps/xtensa/pthread_spin_lock.S | /* Copyright (C) 2012 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 the Free Software Foundation; either
version 2.1 of the Licen... |
wbx-github/uclibc-ng | 1,134 | libpthread/nptl/sysdeps/mips/pthread_spin_trylock.S | /* Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 the Free Software Foundation; either
version 2.1 of the Licen... |
wbx-github/uclibc-ng | 1,060 | libpthread/nptl/sysdeps/mips/pthread_spin_lock.S | /* Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 the Free Software Foundation; either
version 2.1 of the Licen... |
wbx-github/uclibc-ng | 1,173 | libpthread/nptl/sysdeps/alpha/pthread_spin_trylock.S | /* Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@twiddle.net>, 2003.
The GNU C 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 th... |
wbx-github/uclibc-ng | 1,134 | libpthread/nptl/sysdeps/alpha/pthread_spin_lock.S | /* Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Richard Henderson <rth@twiddle.net>, 2003.
The GNU C 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 th... |
wbx-github/uclibc-ng | 1,271 | libpthread/nptl/sysdeps/i386/i486/pthread_spin_trylock.S | /* Copyright (C) 2002, 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published ... |
wbx-github/uclibc-ng | 4,710 | libpthread/nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S | /* Copyright (C) 2002, 2003, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as publ... |
wbx-github/uclibc-ng | 1,817 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S | /* Copyright (C) 2002, 2003, 2005, 2007, 2008 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 3,688 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S | /* Copyright (C) 2002-2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as... |
wbx-github/uclibc-ng | 9,491 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S | /* Copyright (C) 2002-2006, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as... |
wbx-github/uclibc-ng | 6,166 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S | /* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Genera... |
wbx-github/uclibc-ng | 4,253 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S | /* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 5,245 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S | /* Copyright (C) 2002-2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as... |
wbx-github/uclibc-ng | 7,345 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S | /* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 3,384 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S | /* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 3,131 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S | /* Copyright (C) 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2009.
The GNU C 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 the... |
wbx-github/uclibc-ng | 3,777 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S | /* Copyright (C) 2002, 2003, 2004, 2005, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 3,471 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S | /* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 2,688 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S | /* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 1,345 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S | /* Copyright (C) 2002, 2003, 2005, 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License a... |
wbx-github/uclibc-ng | 4,255 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S | /* Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007, 2009
Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser Genera... |
wbx-github/uclibc-ng | 3,208 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S | /* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 5,142 | libpthread/nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S | /* Copyright (C) 2002, 2003, 2005, 2007, 2009 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2002.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Lic... |
wbx-github/uclibc-ng | 2,821 | ldso/ldso/riscv32/resolve.S | /*
* Copyright (C) 2024 by Waldemar Brodkorb <wbx@uclibc-ng.org>
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
* ported from GNU libc
*/
/* Copyright (C) 2017-2019 Free Software Foundation, Inc.
The GNU C Library is free software; you can redistribute it and/or
modify it under th... |
wbx-github/uclibc-ng | 6,308 | ldso/ldso/aarch64/dl-tlsdesc.S | /*
* Copyright (C) 2017 Waldemar Brodkorb <wbx@uclibc-ng.org>
* Ported from GNU C Library
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
/* Thread-local storage handling in the ELF dynamic linker.
AArch64 version.
Copyright (C) 2011-2017 Free Software Foundation, Inc.
The GN... |
wbx-github/uclibc-ng | 2,521 | ldso/ldso/aarch64/resolve.S | /*
* Copyright (C) 2016 by Waldemar Brodkorb <wbx@uclibc-ng.org>
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
* ported from GNU libc
*/
/* Copyright (C) 2005-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can ... |
wbx-github/uclibc-ng | 1,960 | ldso/ldso/i386/resolve.S | /*
* This function is _not_ called directly. It is jumped to (so no return
* address is on the stack) when attempting to use a symbol that has not yet
* been resolved. The first time a jump symbol (such as a function call inside
* a shared library) is used (before it gets resolved) it will jump here to
* _dl_lin... |
wbx-github/uclibc-ng | 1,816 | ldso/ldso/csky/resolve.S | /*
* Copyright (C) 2017 Hangzhou C-SKY Microsystems co.,ltd.
*
* Licensed under the LGPL v2.1 or later, see the file COPYING.LIB
* in this tarball.
*/
/*
* This function is not called directly. It is jumped when attempting to use a
* symbol that has not yet been resolved.
*
*.plt*:
* subi r0, 32
* stw r... |
wbx-github/uclibc-ng | 2,204 | ldso/ldso/x86_64/resolve.S | /*
* This function is _not_ called directly. It is jumped to (so no return
* address is on the stack) when attempting to use a symbol that has not yet
* been resolved. The first time a jump symbol (such as a function call inside
* a shared library) is used (before it gets resolved) it will jump here to
* _dl_lin... |
wbx-github/uclibc-ng | 2,623 | ldso/ldso/arm/aeabi_read_tp.S | /* Copyright (C) 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 the Free Software Foundation; either
version 2.1 of the Licen... |
wbx-github/uclibc-ng | 7,962 | ldso/ldso/arm/resolve.S | /*
*
* add ip, pc, #0xNN00000
* add ip, ip, #0xNN000
* ldr pc, [ip, #0xNNN]!
*
* So that, effectively, causes the following to happen:
*
* ip : = pc+0x0NNNNNNN
* pc : = *ip
*
* For thumb the above fragment is preceded by "bx pc, nop" to switch to ARM
* mode and the thumb 'bl' must g... |
wbx-github/uclibc-ng | 2,011 | ldso/ldso/cris/resolve.S | /*
* This function is _not_ called directly. It is jumped to from PLT when
* attempting to use a symbol that has not yet been resolved. The first time a
* jump symbol (such as a function call inside a shared library) is used
* (before it gets resolved) it will jump here. When we get called the stack
* contains ... |
wbx-github/uclibc-ng | 1,960 | ldso/ldso/m68k/m68k_read_tp.S | /* Copyright (C) 2010-2017 Free Software Foundation, Inc.
Contributed by Maxim Kuvyrkov <maxim@codesourcery.com>, 2010.
The GNU C 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 the Free Software Foundation; either
... |
wbx-github/uclibc-ng | 2,315 | ldso/ldso/nios2/resolve.S | /* PLT trampolines. Nios II version.
Copyright (C) 2005-2016 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C 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 the Free Software Fou... |
wbx-github/uclibc-ng | 1,614 | ldso/ldso/microblaze/resolve.S |
/* This code is used in dl-runtime.c to call the `fixup' function
and then redirect to the address it returns. */
/* We assume that R3 contain relocation offset and R4 contains
link_map (_DYNAMIC). This must be consistent with the JUMP_SLOT
layout generated by binutils. */
/* Based on glibc 2.3.6, dl-machine... |
wbx-github/uclibc-ng | 2,821 | ldso/ldso/riscv64/resolve.S | /*
* Copyright (C) 2019 by Waldemar Brodkorb <wbx@uclibc-ng.org>
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
* ported from GNU libc
*/
/* Copyright (C) 2017-2019 Free Software Foundation, Inc.
The GNU C Library is free software; you can redistribute it and/or
modify it under th... |
wbx-github/uclibc-ng | 2,393 | ldso/ldso/sh/resolve.S | /*
* Stolen from glibc-2.2.2 by Eddie C. Dost <ecd@atecom.com>
*/
.text
.globl _dl_linux_resolver
.globl _dl_linux_resolve
.type _dl_linux_resolve, @function
.balign 16
_dl_linux_resolve:
mov.l r2, @-r15 ! see Note2 below
mov.l r3, @-r15
mov.l r4, @-r15
mov.l r5, @-r15
mov.l r6, @-r15
mov.l r7, @-r15
mov... |
wbx-github/uclibc-ng | 2,771 | ldso/ldso/xtensa/dl-tlsdesc.S | /* Thread-local storage handling in the ELF dynamic linker. Xtensa version.
Copyright (C) 2012-2013 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Licens... |
wbx-github/uclibc-ng | 2,323 | ldso/ldso/xtensa/resolve.S | /* Xtensa dynamic resolver.
Parts copied from glibc/sysdeps/xtensa/dl-trampoline.S
Copyright (C) 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
Li... |
wbx-github/uclibc-ng | 1,928 | ldso/ldso/metag/resolve.S | /*
* Meta dynamic resolver
*
* Copyright (C) 2013 Imagination Technologies Ltd.
*
* Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
*
* This function is _not_ called directly. It is jumped to (so no return
* address is on the stack) when attempting to use a symbol that has not ... |
wbx-github/uclibc-ng | 3,727 | ldso/ldso/mips/resolve.S | /*
* Linux dynamic resolving code for MIPS. Fixes up the GOT entry as
* indicated in register t8 and jumps to the resolved address. Shamelessly
* ripped from 'sysdeps/mips/dl-machine.h' in glibc-2.2.5.
*
* This file is subject to the terms and conditions of the GNU Lesser General
* Public License. See the file "... |
wbx-github/uclibc-ng | 1,115 | ldso/ldso/powerpc/resolve.S | /*
* Stolen from glibc-2.2.2 by David Schleef <ds@schleef.org>
*/
.text
.align 4
.globl _dl_linux_resolver
.globl _dl_linux_resolve
.type _dl_linux_resolve,@function
_dl_linux_resolve:
/* We need to save the registers used to pass parameters, and register 0,
which is used by _mcount; the registers are saved in... |
wbx-github/uclibc-ng | 1,612 | ldso/ldso/or1k/resolve.S | /* This code is used in dl-runtime.c to call the `fixup' function
and then redirect to the address it returns. */
/* We assume that R11 contain relocation offset and R12 contains
link_map (_DYNAMIC). This must be consistent with the JUMP_SLOT
layout generated by binutils. */
/* Based on microblaze implementat... |
wbx-github/uclibc-ng | 1,238 | ldso/ldso/arc/resolve.S | /*
* Copyright (C) 2013 Synopsys, Inc. (www.synopsys.com)
*
* Licensed under the LGPL v2.1 or later, see the file COPYING.LIB in this tarball.
*/
#include <asm.h>
#include <sysdep.h>
#include <sys/syscall.h>
; Save the registers which resolver could possibly clobber
; r0-r9: args to the function - symbol being r... |
wbx-github/uclibc-ng | 3,068 | ldso/ldso/nds32/dl-tlsdesc.S | /* Thread-local storage handling in the ELF dynamic linker. NDS32 version.
Copyright (C) 2006-2013 Free Software Foundation, Inc.
The GNU C 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 the Free Software Foundati... |
wbx-github/uclibc-ng | 1,099 | ldso/ldso/nds32/resolve.S | /*
* Copyright (C) 2016 Andes Technology, Inc.
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
.text
.align 4 ! 16 byte boundary
.globl _dl_linux_resolve
.type _dl_linux_resolve,#function
.pic
_dl_linux_resolve:
! we get called with
! lp contains the return address from th... |
wbx-github/uclibc-ng | 2,006 | ldso/ldso/c6x/resolve.S | ;;
;; Copyright (C) 2010 Texas Instruments Incorporated
;; Mark Salter <msalter@redhat.com>
;;
;; Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
;;
;; The function below is tail-called by resolver stubs when a
;; lazily-bound function is called. It must preserve all
;; registers tha... |
wbx-github/uclibc-ng | 2,282 | ldso/ldso/bfin/resolve.S | /* Copyright (C) 2003 Red Hat, Inc.
Contributed by Alexandre Oliva <aoliva@redhat.com>
This file is part of uClibc.
uClibc is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as
published by the Free Software Foundation; either version 2.1 of the
L... |
wbx-github/uclibc-ng | 1,675 | ldso/ldso/frv/resolve.S | /* Copyright (C) 2003 Red Hat, Inc.
* Contributed by Alexandre Oliva <aoliva@redhat.com>
*
* Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
*/
/* The function below is tail-called by resolver stubs when a
lazily-bound function is called. It must preserve all
registers that could be... |
WCHSoftGroup/ch347 | 6,011 | OpenOCD_SourceCode_CH347/testing/examples/LPC2294Test/src/crt.s | /****************************************************************************
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... |
WCHSoftGroup/ch347 | 8,279 | OpenOCD_SourceCode_CH347/testing/examples/STR710Test/src/crt.s | /****************************************************************************
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions o... |
WCHSoftGroup/ch347 | 7,009 | OpenOCD_SourceCode_CH347/testing/examples/SAM7S256Test/src/crt.s | /****************************************************************************
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... |
WCHSoftGroup/ch347 | 7,009 | OpenOCD_SourceCode_CH347/testing/examples/SAM7X256Test/src/crt.s | /****************************************************************************
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... |
WCHSoftGroup/ch347 | 5,514 | OpenOCD_SourceCode_CH347/testing/examples/STR912Test/src/startup.s | /***********************************************************************************
* Copyright 2005 Anglia Design
* This demo code and associated components are provided as is and has no warranty,
* implied or otherwise. You are free to use/modify any of the provided
* code at your own risk in your applications with... |
WCHSoftGroup/ch347 | 5,724 | OpenOCD_SourceCode_CH347/testing/examples/AT91R40008Test/src/crt.s | /****************************************************************************
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... |
WCHSoftGroup/ch347 | 7,801 | OpenOCD_SourceCode_CH347/testing/examples/STR710JtagSpeed/src/crt.s | /****************************************************************************
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... |
WCHSoftGroup/ch347 | 5,979 | OpenOCD_SourceCode_CH347/testing/examples/LPC2148Test/src/crt.s | /****************************************************************************
* Copyright (c) 2006 by Michael Fischer. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributio... |
WCHSoftGroup/ch347 | 1,172 | OpenOCD_SourceCode_CH347/contrib/loaders/erase_check/armv7m_erase_check.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2010 by Spencer Oliver *
* spen@spen-soft.co.uk *
***************************************... |
WCHSoftGroup/ch347 | 1,066 | OpenOCD_SourceCode_CH347/contrib/loaders/erase_check/stm8_erase_check.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Copyright (C) 2017 Ake Rehnman
* ake.rehnman(at)gmail.com
*/
;;
;; erase check memory code
;;
.org 0x0
;; start address
start_addr: .byte 0x00
.word 0x8000
;; byte count
byte_cnt: .byte 0x00
.word 0x8000
;
; SP must point to start_addr on ent... |
WCHSoftGroup/ch347 | 1,561 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/armv4_5_cfi_span_16.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2005, 2007 by Dominic Rath *
* Dominic.Rath@gmx.de *
* Copyright (C) 2010 Spencer Oliver ... |
WCHSoftGroup/ch347 | 2,644 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/efm32.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2011 by Andreas Fritiofson *
* andreas.fritiofson@gmail.com *
* Copyright (C) 2013 by Roman Dmitrie... |
WCHSoftGroup/ch347 | 1,672 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stellaris.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2006 by Magnus Lundin *
* lundin@mlu.mine.nu *
* ... |
WCHSoftGroup/ch347 | 1,845 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/cortex-m0.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2014 by Angus Gratton *
* Derived from stm32f1x.S:
* Copyright (C) 2011 by Andreas Fritiofson *
* andre... |
WCHSoftGroup/ch347 | 1,345 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/armv7m_cfi_span_16_dq7.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2005, 2007 by Dominic Rath *
* Dominic.Rath@gmx.de *
* Copyright (C) 2010 Spencer Oliver ... |
WCHSoftGroup/ch347 | 1,760 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/sim3x.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2014 by Ladislav Bábel *
* ladababel@seznam.cz *
***************************************... |
WCHSoftGroup/ch347 | 1,611 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/armv7m_cfi_span_16.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2005, 2007 by Dominic Rath *
* Dominic.Rath@gmx.de *
* Copyright (C) 2010 Spencer Oliver ... |
WCHSoftGroup/ch347 | 1,198 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/str7x.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2010 by Spencer Oliver *
* spen@spen-soft.co.uk *
***************************************... |
WCHSoftGroup/ch347 | 2,549 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/pic32mx.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2010 by Spencer Oliver *
* spen@spen-soft.co.uk *
***************************************... |
WCHSoftGroup/ch347 | 1,561 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/armv4_5_cfi_span_32.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2005, 2007 by Dominic Rath *
* Dominic.Rath@gmx.de *
* Copyright (C) 2010 Spencer Oliver ... |
WCHSoftGroup/ch347 | 1,325 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/armv4_5_cfi_span_16_dq7.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2005, 2007 by Dominic Rath *
* Dominic.Rath@gmx.de *
* Copyright (C) 2010 Spencer Oliver ... |
WCHSoftGroup/ch347 | 6,565 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/lpcspifi_write.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2012 by George Harris *
* george@luminairecoffee.com *
***************************************... |
WCHSoftGroup/ch347 | 1,561 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/armv4_5_cfi_span_8.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2005, 2007 by Dominic Rath *
* Dominic.Rath@gmx.de *
* Copyright (C) 2010 Spencer Oliver ... |
WCHSoftGroup/ch347 | 2,380 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/k1921vk01t.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2015 by Bogdan Kolbov *
* kolbov@niiet.ru *
***************************************... |
WCHSoftGroup/ch347 | 2,598 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/mdr32fx.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2011 by Andreas Fritiofson *
* andreas.fritiofson@gmail.com *
* ... |
WCHSoftGroup/ch347 | 3,183 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/lpcspifi_init.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2012 by George Harris *
* george@luminairecoffee.com *
*******************************************... |
WCHSoftGroup/ch347 | 5,378 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/mrvlqspi_write.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2014 by Mahavir Jain <mjain@marvell.com> *
* *
* Adapted from (contrib/loaders/flash... |
WCHSoftGroup/ch347 | 4,891 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/lpcspifi_erase.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2012 by George Harris *
* george@luminairecoffee.com *
***************************************... |
WCHSoftGroup/ch347 | 1,183 | OpenOCD_SourceCode_CH347/contrib/loaders/watchdog/armv7m_kinetis_wdog.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2015 Tomas Vanek *
* vanekt@fbl.cz *
***************************************... |
WCHSoftGroup/ch347 | 1,537 | OpenOCD_SourceCode_CH347/contrib/loaders/watchdog/armv7m_kinetis_wdog32.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2017 Tomas Vanek *
* vanekt@fbl.cz *
***************************************... |
WCHSoftGroup/ch347 | 1,270 | OpenOCD_SourceCode_CH347/contrib/loaders/checksum/mips32.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2010 by Spencer Oliver *
* spen@spen-soft.co.uk *
***************************************... |
WCHSoftGroup/ch347 | 1,300 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/nrf5/nrf5.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2014 Angus Gratton *
* gus@projectgus.com *
***************************************... |
WCHSoftGroup/ch347 | 1,793 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/numicro/numicro_m0.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2015 Nemui Trinomius *
* nemuisan_kawausogasuki@live.jp *
* ... |
WCHSoftGroup/ch347 | 1,562 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/numicro/numicro_m4.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2017 Zale Yu *
* CYYU@nuvoton.com *
* ... |
WCHSoftGroup/ch347 | 1,264 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/xmc1xxx/erase_check.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Infineon XMC1000 flash sector erase check
*
* Copyright (c) 2016 Andreas Färber
*
* Based on XMC1100 AA-Step Reference Manual
*/
#include "xmc1xxx.S"
.macro verify_block, nvmbase, addr, tmp, tmp2
movs \tmp, #0x00
mvns \tmp, \tmp
str \tmp, [\addr, #0x0]
... |
WCHSoftGroup/ch347 | 1,048 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/xmc1xxx/write.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Infineon XMC1000 flash write
*
* Copyright (c) 2016 Andreas Färber
*
* Based on XMC1100 AA-Step Reference Manual
*/
#include "xmc1xxx.S"
.macro write_block, nvmbase, dest, src, tmp, tmp2
ldr \tmp, [\src, #0x0]
str \tmp, [\dest, #0x0]
ldr \tmp, [\src, ... |
WCHSoftGroup/ch347 | 3,203 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stmqspi/stmqspi_crc32.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2019 by Andreas Bolsch *
* andreas.bolsch@mni.thm.de *
***************************************... |
WCHSoftGroup/ch347 | 3,760 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stmqspi/stmqspi_read.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2019 by Andreas Bolsch *
* andreas.bolsch@mni.thm.de *
***************************************... |
WCHSoftGroup/ch347 | 4,466 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stmqspi/stmoctospi_read.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2019 by Andreas Bolsch *
* andreas.bolsch@mni.thm.de *
***************************************... |
WCHSoftGroup/ch347 | 3,476 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stmqspi/stmoctospi_erase_check.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2019 by Andreas Bolsch *
* andreas.bolsch@mni.thm.de *
***************************************... |
WCHSoftGroup/ch347 | 5,991 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stmqspi/stmqspi_write.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2016 - 2018 by Andreas Bolsch *
* andreas.bolsch@mni.thm.de *
***************************************... |
WCHSoftGroup/ch347 | 2,770 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stmqspi/stmqspi_erase_check.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2019 by Andreas Bolsch *
* andreas.bolsch@mni.thm.de *
***************************************... |
WCHSoftGroup/ch347 | 8,187 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stmqspi/stmoctospi_write.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2018 by Andreas Bolsch *
* andreas.bolsch@mni.thm.de *
***************************************... |
WCHSoftGroup/ch347 | 3,908 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/stmqspi/stmoctospi_crc32.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2019 by Andreas Bolsch *
* andreas.bolsch@mni.thm.de *
***************************************... |
WCHSoftGroup/ch347 | 1,287 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/fm4/erase.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Spansion FM4 flash sector erase algorithm
*
* Copyright (c) 2015 Andreas Färber
*
* Based on S6E2CC_MN709-00007 for S6E2CC/C5/C4/C3/C2/C1 series
*/
#include "fm4.h"
#define RESULT_OKAY 0
#define RESULT_NONE 1
#define RESULT_TIMEOUT 2
.macro busy_wait, res,... |
WCHSoftGroup/ch347 | 1,482 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/fm4/write.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* Spansion FM4 flash write algorithm
*
* Copyright (c) 2015 Andreas Färber
*
* Based on S6E2CC_MN709-00007 for S6E2CC/C5/C4/C3/C2/C1 series
*/
#include "fm4.h"
#define RESULT_OKAY 0
#define RESULT_NONE 1
#define RESULT_TIMEOUT 2
.macro busy_wait, res, addr, ... |
WCHSoftGroup/ch347 | 2,831 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/cc3220sf/cc3220sf.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2017 by Texas Instruments, Inc. *
***************************************************************************/
/* Params:
* r0 = buffer start addr... |
WCHSoftGroup/ch347 | 5,709 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/sh_qspi/sh_qspi.S | /* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* SH QSPI (Quad SPI) driver
* Copyright (C) 2019 Marek Vasut <marek.vasut@gmail.com>
*/
#define BIT(n) (1UL << (n))
/* SH QSPI register bit masks <REG>_<BIT> */
#define SPCR_MSTR 0x08
#define SPCR_SPE 0x40
#define SPSR_SPRFF 0x80
#define SPSR_SPTEF 0x20
#define SP... |
WCHSoftGroup/ch347 | 2,046 | OpenOCD_SourceCode_CH347/contrib/loaders/flash/kinetis/kinetis_flash.s | /* SPDX-License-Identifier: GPL-2.0-or-later */
/***************************************************************************
* Copyright (C) 2015 by Ivan Meleca *
* ivan@artekit.eu *
* ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.