arm7: Remove atomic.s

dev/timer
Joakim Gebart 9 years ago
parent 41ef11c215
commit dc6ab7a3a0

@ -1,25 +0,0 @@
/*
* Copyright (C) 2014 Freie Universität Berlin
*
* This file is subject to the terms and conditions of the GNU Lesser
* General Public License v2.1. See the file LICENSE in the top level
* directory for more details.
*/
/* GCC ARM assembler */
.text
.code 32
.align 4 /* 0 */
/* .extern sched_run*/
/* Public functions declared in this file */
.global atomic_set_return
.func
atomic_set_return:
SWP r2,r1,[r0]
MOV r0, r2
mov pc, lr
.endfunc

@ -17,11 +17,6 @@
extern "C" {
#endif
/**
* @brief ARM has architecture specific atomic_set_return in atomic.s
*/
#define ARCH_HAS_ATOMIC_SET_RETURN 1
#define NEW_TASK_CPSR 0x1F
#define WORDSIZE 32

Loading…
Cancel
Save