Debian Codegraph @

sys-elf_loong64.S

raw
1 /*
2 * libhugetlbfs - direct system call for loong64
3 *
4 * Author(s): WuRuilong
5 */
6 .text
7
8 .globl direct_syscall
9 direct_syscall:
10 move $a7, $a0
11 move $a0, $a1
12 move $a1, $a2
13 move $a2, $a3
14 move $a3, $a4
15 move $a4, $a5
16 move $a5, $a6
17 syscall 0
18 ret
19
20 #if defined(__linux__) && defined(__ELF__)
21 .section .note.GNU-stack,"",%progbits
22 #endif