summaryrefslogtreecommitdiff
path: root/coroutine/arm32/Context.S
blob: b2bb2ae303b6e87979114dff750a3328ca32cd11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
##
##  This file is part of the "Coroutine" project and released under the MIT License.
##
##  Created by Samuel Williams on 10/5/2018.
##  Copyright, 2018, by Samuel Williams. All rights reserved.
##

.text

.globl coroutine_transfer
coroutine_transfer:
	stmia r0!, {r4-r11,sp,lr}
	ldmia r1!, {r4-r11,sp,pc}
	bx lr

#if defined(__linux__) && defined(__ELF__)
.section .note.GNU-stack,"",%progbits
#endif