1: /*
2: *----------------------------------------------------------------------
3: * T-Kernel 2.0 Software Package
4: *
5: * Copyright 2011 by Ken Sakamura.
6: * This software is distributed under the latest version of T-License 2.x.
7: *----------------------------------------------------------------------
8: *
9: * Released by T-Engine Forum(http://www.t-engine.org/) at 2011/05/17.
10: * Modified by TRON Forum(http://www.tron.org/) at 2015/06/01.
11: *
12: *----------------------------------------------------------------------
13: */
14:
15: /*
16: * T-Kernel extended SVC interface library (em1d)
17: *
18: * (generated automatically)
19: */
20:
21: #include <machine.h>
22: #include <tk/sysdef.h>
23: #include <sys/svc/fndevmgr.h>
24:
25: .text
26: .balign 4
27: .globl Csym(tk_srea_dev)
28: .type Csym(tk_srea_dev), %function
29: Csym(tk_srea_dev):
30: stmfd sp!, {r0-r3}
31: mov r0, sp
32: stmfd sp!, {lr}
33: ldr ip, =DEVICE_TK_SREA_DEV_FN
34: swi SWI_SVC
35: ldmfd sp!, {lr}
36: add sp, sp, #4*4
37: bx lr
38: